TMSMetaData functionality extension
Posted: Fri 25 Jun 2010 09:01
The TMSMetaData have a ObjectType propety and otForeignKeys - one of many enumerated value for this property. With this value TMSMetaData return all foreign keys on which specified table refrences. The query use sp_foreign_keys_rowset2 strored procedure to get that data.
I need to get all foreign tables which references on primary key of specified table, it could use sp_foreign_keys_rowset stored procedure. Please tell me how can I do it with TMSMetaData?
I need to get all foreign tables which references on primary key of specified table, it could use sp_foreign_keys_rowset stored procedure. Please tell me how can I do it with TMSMetaData?