SqlServer存储过程模板
时间:2022-03-14 01:26
create procedure [spname]([spvariable])
as
begin
begin transaction
begin try
--具体sql过程
commit;
end try
begin catch
rollback;
end catch
end
时间:2022-03-14 01:26
create procedure [spname]([spvariable])
as
begin
begin transaction
begin try
--具体sql过程
commit;
end try
begin catch
rollback;
end catch
end