1个回答
2015-04-05 · 知道合伙人软件行家
关注
展开全部
if (exists (select * from sys.objects where name = 'proc_get_student'))
drop proc proc_get_student
go
create proc proc_get_student
as
update table1 set field1=updatevalue1 where id=youID1;
update table2 set field1=updatevalue2 where id=youID2;
drop proc proc_get_student
go
create proc proc_get_student
as
update table1 set field1=updatevalue1 where id=youID1;
update table2 set field1=updatevalue2 where id=youID2;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询