Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
ElevateDB Technical Support
»
Support Forums
»
ElevateDB General
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Column generated?
Tue, Aug 4 2009 4:20 AM
Permanent 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 AM
Permanent Link
Roy Lambert
NLH Associates
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 AM
Permanent Link
Francisco Fernandez
Roy.
Thank's and regards