c# 如何判断存储过程中存在set nocount on的语句是否执行成功
例如:我的存储过程ALTERPROCEDURE[dbo].[Kui_Dischg]@posnoSmallint,@folioint,@pubdatedatetime,@o...
例如:我的存储过程ALTER PROCEDURE [dbo].[Kui_Dischg] @posno Smallint,@folio int,@pubdate datetime,@oper varchar(10),@odisperc numeric(5,2),@osvrperc numeric(5,2),
@odiscount numeric(10,2),@ogovtax numeric(5,2),@orebate numeric(10,2),@macno smallint AS
set nocount on
declare @ndisperc numeric(5,2)
declare @nsvrperc numeric(5,2)
insert into dischg (posno,Tableno,folio,flowno,pubdate,ddate,ndisperc,nsvrperc,ndiscount,ngovtax,odisperc,osvrperc,odiscount,ogovtax,oper,macno,nrebate,orebate) values
(@posno,@Tableno,@folio,@flowno,@pubdate,getdate(),@ndisperc,@nsvrperc,@ndiscount,@ngovtax,@odisperc,@osvrperc,@odiscount,@ogovtax,@oper,@macno,@nrebate,@orebate)
end
在C# winform中如何判断执行成功 展开
@odiscount numeric(10,2),@ogovtax numeric(5,2),@orebate numeric(10,2),@macno smallint AS
set nocount on
declare @ndisperc numeric(5,2)
declare @nsvrperc numeric(5,2)
insert into dischg (posno,Tableno,folio,flowno,pubdate,ddate,ndisperc,nsvrperc,ndiscount,ngovtax,odisperc,osvrperc,odiscount,ogovtax,oper,macno,nrebate,orebate) values
(@posno,@Tableno,@folio,@flowno,@pubdate,getdate(),@ndisperc,@nsvrperc,@ndiscount,@ngovtax,@odisperc,@osvrperc,@odiscount,@ogovtax,@oper,@macno,@nrebate,@orebate)
end
在C# winform中如何判断执行成功 展开
2个回答
2013-12-12
展开全部
只能实际操作进行实验吧,多测试测试就可以了!!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询