Get all Tables and Columns for each Database

This script will get the name of each database from master..sysdatabases, then use each database's Information Schemata to get the tables and columns in each of the databases. Several recent requests for assistance have used this to answer their needs. I ran it across 245 databases and pulled back 1.4 million results in about 30 […]

5 (1)

2004-04-15

1,315 reads

Blogs

Quick Blog: Making the Power BI PowerShell cmdlets easier to use

By

One of the top reasons I love PowerShell so much is that from the...

Trouble writing? Join the club. #JustWriteTech

By

I was talking with  a couple of excellent SQL people* recently, and we were bemoaning...

Check Query Progress with Live Query Stats

By

This is something I touched on back in 2017 a little after the Live...

Read the latest Blogs

Forums

Is Data the Future of the Vibrant Web?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Is Data the Future of...

Need some advice as to how convert reports to use embedded data

By Rod at work

I've been using SSRS, on and off, for about 10 years. I wouldn't call...

Index maintenance Ola script

By vsamantha35

Hi All, Does Ola Hallengren index script takes care of de-fragmenting HEAP tables as...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers