Subject | Re: [firebird-support] Find primary key column names at runtime |
---|---|
Author | Martijn Tonies |
Post date | 2005-09-12T09:44:37Z |
Hi,
With regards,
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> I need to find out the primary key column names from a table (atRDB$INDICES, RDB$INDEX_SEGMENTS and RDB$RELATION_CONSTRAINTS.
> runtime) by querying the system tables (RDB$)... I have looked into but
> failed to find which tables contain the information I need...
>
> Where can I find that information?
With regards,
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com