Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fields list for a table?

Status
Not open for further replies.

badukist

Programmer
Jun 26, 2003
146
RO
Hi all
I want to do a code generator for triggers and I need to have all columns list for a table.
How can I get fields list for a table as in DBWorkbench or IbExpert?
I only need :
column_name,column_type,Length,Scale,Sub_type

Thanks
 
Hi,

This info is available in the system tables. RDB$RELATION_FIELDS and RDB$FIELDS hold the column info.

Good luck! :)

Martijn Tonies
Database Workbench - the developer tool for InterBase, Firebird, MySQL & MS SQL Server
 
Thanks and sorry for replying so late.
Works very well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top