cancel
Showing results for 
Search instead for 
Did you mean: 

How do I see what tables are referencing a primary key?

Former Member
0 Kudos

Hi, I am trying to work out the indexes and primary key on a table, and I know the primary key is used as a foreign key on other tables, how do I see these references in IQ15?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Gisung
Advisor
Advisor
0 Kudos

Hi,

Here are associated proc and system table for foreign key.

1) system proc

   - sp_iqpkeys, sp_iqconstraint

2) system table

   - SYSFOREIGNKEY, SYSFOREIGNKEYS

==

HTH

Gi-Sung Jang

Former Member
0 Kudos

Hi, thanks, those are useful.

Answers (0)