declare tb cursor local for select 'sp_changeobjectowner ''['+replace(user_name(uid),']',']]')+'].[' +replace(name,']',']]')+']'',''dbo''' from sysobjects where xtype in('U','V','P','TR','FN','IF','TF') and status>=0 open tb declare @s nvarchar(4000) fetch tb into @s while @@fetch_status ...
  • 10:31
  • 浏览 (165)
  • 评论 (0)
yunxuan
搜索本博客
博客分类
最近加入圈子
最新评论
评论排行榜