SHOW:
|
|
- or go back to the newest paste.
| 1 | exec sp_MSforeachtable @command1 = ' | |
| 2 | print(''use ''+db_name()+''; dbcc dbreindex(''''?'''')'','''''''',80)
| |
| 3 | ' | |
| 4 | - | |
| 4 | + | |
| 5 | exec sp_MSforeachtable @command1 = ' | |
| 6 | print(''use ''+db_name()+''; dbcc dbreindex(''''''+object_name(object_id(''?''))+'''''','''''''',80)'')
| |
| 7 | ' |