摘要:
use master go declare @spid int,@bl int DECLARE s_cur CURSOR FOR select 0 ,blocked from (select * from sysprocesses where blocked>0 ) a... 阅读全文
摘要:
create PROC p_typeTotype @type tinyint=0, --修改方式,0=仅查询可修改情况,1=仅所有列可修改时才修改,2=修改可修改列,报告不可修改列 @typefrom nvarchar(50), @typeto nvarchar(50) AS SET NOCOUNT ON --查询非unicode列转换为unicode列的可行性 SELECT TableName... 阅读全文