您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

删除所有存储过程

2024/3/28 11:48:02发布11次查看
删除所有存储过程的sql语句 无 declare @procname varchar(500)declare cur cursor for select [name] from sys.objects where type = 'p'open curfetch next from cur into @procnamewhile @@fetch_status = 0 begin exec('drop procedure ' + @procname) fe
删除所有存储过程的sql语句
declare @procname varchar(500)declare cur cursor for select [name] from sys.objects where type = 'p'open curfetch next from cur into @procnamewhile @@fetch_status = 0 begin exec('drop procedure ' + @procname) fetch next from cur into @procname endclose curdeallocate cur
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product