create or alter proc SP_CreateIndex as begin if exists(select * from sys.objects where name='execsql') begin drop table execsql; end create table execsql(id int identity(1,1),sqlstr varchar(1000),flag varchar(255));--创建索引insert into execsql(sqlstr,fl
--sqlserver 日常检查脚本 print '----------------------------' print ' 0.sqlserver all information ' print '----------------------------' print ' ' print '*********************************' --Step 1: Setting NULLs and quoted identifiers to ON and checking t