Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Need help with sp_MSforeachtable syntax

$
0
0

What's wrong with my syntax?

           sp_MSforeachtable 'select ''?'' Tablename, Update Statistics ''?'' With FullScan'

I'm trying to print the table name, then update stats for that table.

TIA,

edm2



Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>