Tuesday, April 28, 2009

All the Tables from All Databases

sp_msforeachdb 'select "?" AS db, * from [?].sys.tables'

No comments: