Tito Ciuro wrote:

3) Then I parse the CREATE TABLE... statement and separate columns from datatypes.

You can look for INTEGER PRIMARY KEY. Would that work for you?

In practice, how safe is it to parse the CREATE SQL? Unless, of course, you have a full SQL parser at your disposal.

Reply via email to