in

SQL Server Blogs

Voices from the UK SQL Server Community

Browse by Tags

  • Tables with no Primary and Foreign keys

    John Paul Cook has posted in his blog to show the list of tables that have no Referential Integrity. What if you want to know list of tables that have no primary and foreign keys? Here is the query select table_name from INFORMATION_SCHEMA.TABLES where objectproperty ( object_id ( table_name ), 'TableHasForeignKey'...
    Posted to Madhivanan (Weblog) by Madhivanan on Fri, Apr 10 2009
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems