• Post Reply Bookmark Topic Watch Topic
  • New Topic

nx: do we have to read the schema from the db file?

 
Joy DeGrazzio
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since the instructions already give us the field names and lengths of the records, can we just assume those values or do we have to provide code that reads the schema from the db file?
 
Mike Southgate
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read the schema and provided methods so the application could dynamically determine the number of columns, their names and sizes etc. I don't think we have to but is seems much more flexible from a going forward perspective.
ms
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!