Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Column generated?
Tue, Aug 4 2009 4:20 AMPermanent Link

Francisco Fernandez
Hi all.

How can i know if a column of a table is generated?

Thank you
Tue, Aug 4 2009 5:07 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Francisco


You need to read the TableColumns table in Information.

In EDBManager open the database you're interested in, open a new query and enter

SELECT * FROM Information.TableColumns
WHERE
Generated = TRUE
AND
TableName = 'tablewanted'
AND
Name = 'column wanted'

Inside an app you could use the same query in the edbdatabase's Execute method and test for it returning > 0

Roy Lambert [Team Elevate]
Tue, Aug 4 2009 5:16 AMPermanent Link

Francisco Fernandez
Roy.

Thank's and regards
Image