您的位置:首页 > 博客中心 > 数据库 >

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

热门排行

今日推荐

热门手游