摘要:
create proc [pro_data] @MinRows int=500asbegincreate table #tmp (name varchar(50),rows int,reserved varchar(50),data varchar(50),index_size varchar(50),unused varchar(50)); insert into #tmp (name,rows... 阅读全文
摘要:
-- =============================================-- Declare and using a KEYSET cursor-- =============================================drop proc pro_eachsqlgocreate proc pro_eachsql @sqlTo nvarchar(max)a... 阅读全文
摘要:
http://www.cnblogs.com/xbf321/archive/2008/11/02/1325067.html 阅读全文