JG Vimalan's Blog

It is all about coding!

Fetch only the column names from an Interbase database table.

The following sql query will fetch the columns name from the specified table in an Interbase database. 

select RDB$FIELD_NAME from rdb$relations r join rdb$relation_fields rf on
r.rdb$relation_name = rf.rdb$relation_name and
r.rdb$relation_name = ‘TABLE NAME’ 


JG Vimalan


August 6, 2009 - Posted by | Interbase

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: