hi,
does anybody know how to use sp_fkeys ?
I have a table that definitely has foreign keys
(can examine them in enterprise manager/table design)
but can't work out the syntax for sp_fkeys to
simply list all foreign keys the table has...
Yes I know it should be easy!!! and the online reference
tells me the syntax - but it won't work!
here's what Microsoft reckon.....
USE Northwind
EXEC sp_fkeys @pktable_name = N'Customers'
does anybody know how to use sp_fkeys ?
I have a table that definitely has foreign keys
(can examine them in enterprise manager/table design)
but can't work out the syntax for sp_fkeys to
simply list all foreign keys the table has...
Yes I know it should be easy!!! and the online reference
tells me the syntax - but it won't work!
here's what Microsoft reckon.....
USE Northwind
EXEC sp_fkeys @pktable_name = N'Customers'