Viewing post 1 (of 1 total)
You can use this as well:
sp_MSforeachtable @command1 ="print 'TABLE NAME: ' + '?' SELECT COUNT(*) FROM ?"
October 12, 2007 at 8:19 am
#741577