Hi,
i'm wanting to write a script to output all my user tables that have a primary key field(s), BUT also NO foreign keys in the same table.
Would any one point me in the right direction as to which tables would hold all this data for me, or any SPs that already do this?
Any help would be much appreciated.
Thanks.
i'm wanting to write a script to output all my user tables that have a primary key field(s), BUT also NO foreign keys in the same table.
Would any one point me in the right direction as to which tables would hold all this data for me, or any SPs that already do this?
Any help would be much appreciated.
Thanks.