|
Question : MS Access GetOleDbSchemaTable DATA_TYPES and COLUMN_FLAGS questions
|
|
I am trying to get the Schema information from an MS Access database using GetOleDbSchemaTable method. The data that is returned does not match up with what is shown by Access. Example the Categories table from Northwind
Category table in Design View inside access CategoryID - Autonumber (Long Integer) CategoryName - Text(15) Description - Memo Picture - OLE Object
Category table from GetOleDbSchemaTable(COLUMNS schema joined with PROVIDER_TYPES schema) CategoryID - Long CategoryName - VarChar(15) Description - LongText Picture - BigBinary or LongBinary
2 Questions:
1. Is there another method to get the data types, that will result in the "correct" naming of the data types?
2. The autonumber field is not identified in the columns schema, the COLUMN_FLAGS field appears to be a bitmask that includes this information as well as other info. Is there a breakdown of the COLUMN_FLAGS field somewhere that lists all the different values stored here?
|
|
Answer : MS Access GetOleDbSchemaTable DATA_TYPES and COLUMN_FLAGS questions
|
|
|
|
|