事件探查器跟踪出来是这样的。
declare @P1 int
set @P1=180150000
declare @P2 int
set @P2=8
declare @P3 int
set @P3=1
declare @P4 int
set @P4=1
exec sp_cursoropen @P1 output, N'SELECT aa.cbegind_c, aa.mb, aa.md, aa.mc, aa.cendd_c, aa.me FROM g_accsum aa WHERE aa.ccode like ''1001%'' and (select cc.bend from code cc where cc.ccode=aa.ccode)=1 and aa.iperiod=5', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4请问下在VB里面怎么实现?
declare @P1 int
set @P1=180150000
declare @P2 int
set @P2=8
declare @P3 int
set @P3=1
declare @P4 int
set @P4=1
exec sp_cursoropen @P1 output, N'SELECT aa.cbegind_c, aa.mb, aa.md, aa.mc, aa.cendd_c, aa.me FROM g_accsum aa WHERE aa.ccode like ''1001%'' and (select cc.bend from code cc where cc.ccode=aa.ccode)=1 and aa.iperiod=5', @P2 output, @P3 output, @P4 output
select @P1, @P2, @P3, @P4请问下在VB里面怎么实现?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货