复制代码 代码如下: sp_configure 'allow updates','1' go reconfigure with override go update sysobjects set uid=1 where uid1 go sp_configure 'allow updates','0' go reconfigure with override 在查询分析器里面执行一次就行,执 复制代
复制代码 代码如下: IF Exists(Select 1 From sysobjects Where Name='sp_search' And xType='P') Drop Procedure sp_search go /* 模糊查询的通用存储过程 create by sxm,date 2009-7-14 参数: @table_name 表名 @condition 条件 复制代码 代码如下:I
1.调整内存 sp_configure 'show advanced options',1 GO RECONFIGURE Go sp_configure 'awe enabled', 1 GO RECONFIGURE Go sp_configure 'min server memory',1024 Go sp_configure 'max server memory',3072 GO RECONF