SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

DB Details - Tables, Rows, Columns, Primary Keys

By Mohit Nayyar,

This procedure will give you the list of tables in the current database along with total columns in the table, no. of rows and the primary key(s) defined for the table.

Mohit Nayyar

Total article views: 738 | Views in the last 30 days: 4