34,593
社区成员
发帖
与我相关
我的任务
分享
declare @name varchar(50)
declare ap scroll cursor for
select name from sysobjects
where xtype in (
'P', -- 存储过程
'FN', -- 函数
'V' -- 视图
)
open ap
fetch first from ap into @name
while(@@FETCH_STATUS <> -1)
begin
-- 单个加密代码
fetch next from ap into @name
end
close ap
deallocate ap