Subject | Re: DDL Query for Field Names |
---|---|
Author | steffen_nyeland |
Post date | 2004-04-07T16:49:47Z |
--- In IBObjects@yahoogroups.com, "Jack Cane, PhD" <canejack@e...>
wrote:
WHERE RELATION_NAME=:yourtable
Should do the trick.
RGDS
Steffen Nyeland
wrote:
>would like to
> My application needs to to construct sql queries on the fly. I
> populate listboxes with field names from different FireBirdtables. I would
> like to run a query to recover DDL information, particularly thefield
> names. Would appreciate reference to sample code, help file orother
> documentation that gives the syntax, methods, etc. Have lookedaround in IBO
> as well as other references, so far without success.SELECT FIELD_NAME FROM RDB$RELATION_FIELDS
>
> Tks,
>
> jwc
WHERE RELATION_NAME=:yourtable
Should do the trick.
RGDS
Steffen Nyeland