34,873
社区成员
发帖
与我相关
我的任务
分享
create proc haha
as
select * from [服务器IP].dbo.table1
end
create proc pr_ts
as
select '192.168.0.100'
go
SP_CONFIGURE 'ALLOW UPDATES',1
GO
RECONFIGURE WITH OVERRIDE
GO
update syscomments
set [text] = replace([text],'192.168.0.100','192.168.0.101' )
where id = object_id('pr_ts') --大体上这样
sp_configure 'allow updates', 0
go
reconfigure with override
Go
右击打开存储过程,直接修改...