Viewing post 1 (of 1 total)
If you want to find the number of columns for the table in all databases, you can use sp_msforeachdb to execute a sql statement for each database.
exec sp_msforeachdb
'select ''Database:...
June 23, 2008 at 9:22 am
#832797