how to access mysql flags

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply

how to access mysql flags

Post by tester » Tue 28 Feb 2006 13:36

Hi, I am evaluating your dbExpress drivers and coz I am new to dbExpress I need some little advice. Is it possible to read mysql field flags?

AUTO_INCREMENT_FLAG ( TField->DataType==ftAutoInc ? )
NOT_NULL_FLAG ( TField->Required ? )
PRI_KEY_FLAG ( TField->FieldKind==fkLookup ? )

If u can point me to some document/help. Thx for your time.

Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 28 Feb 2006 15:23

Because of dbExpress restrictions dbxMda don't allow to retrieve such information from the server. We advise you using special MySQL Server commands (e.g. DESCRIBE, SHOW COLUMNS etc) to get information about columns. See MySQL Reference for more information.

Post Reply