if you want to get a list of column names in a specific table, this is the sql query you need:
select rdb$field_name from rdb$relation_fields where rdb$relation_name='YOUR-TABLE_NAME';
I tried this in firebird 2.5 and it works.
single quotes around YOUR TABLE-TITLE are required btw
jramirez
source share