|
我从事件探查器中筛选的SQL语句,请高手帮忙分析一下(最下面的附件为原文件,请下载分析一下):
begin tran
go
commit tran
go
execute dm_xcl 'fyjjx'
go
begin tran
go
commit tran
go
execute dm_xcl 'fyjjxk'
go
begin tran
go
commit tran
go
execute dm_xcl 'fyjjx'
go
begin tran
go
commit tran
go
execute dm_xcl 'fyjjxk'
go
begin tran
go
commit tran
go
execute dm_xcl 'fyjjx'
go
begin tran
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
commit tran
go
execute sp_xs_czdmggd 'asbn'
go
begin tran
go
execute dbo.sp_dw_xs_xzspdm;1 @tempdm = 'asbn%'
go
commit tran
go
execute dm_xcl 'asbnya'
go
begin tran
go
commit tran
go
execute dm_xcl 'asbnyjl'
go
begin tran
go
commit tran
go
execute dm_xcl 'asbnya'
go
begin tran
go
commit tran
go
execute dm_xcl 'asbnyjl'
go
begin tran
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
commit tran
go
execute sp_xs_czdmggd 'pxp'
go
begin tran
go
execute dbo.sp_dw_xs_xzspdm;1 @tempdm = 'pxp%'
go
commit tran
go
execute dm_xcl 'pxpln'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpsykd'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpln'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpsykd'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpln'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpsykd'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpln'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpsykd'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpln'
go
begin tran
go
commit tran
go
execute dm_xcl 'PXPNXJTY'
go
begin tran
go
commit tran
go
execute dm_xcl 'pxpsykd'
go
begin tran
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
commit tran
go
execute sp_xs_czdmggd 'gxp'
go
begin tran
go
execute dbo.sp_dw_xs_xzspdm;1 @tempdm = 'gxp%'
go
commit tran
go
execute dm_xcl 'gxpbys'
go
begin tran
go
commit tran
go
execute dm_xcl 'gxpgd'
go
begin tran
go
commit tran
go
execute dm_xcl 'gxpbys'
go
begin tran
go
commit tran
go
execute dm_xcl 'gxpgd'
go
begin tran
go
commit tran
go
execute dm_xcl 'gxpbys'
go
begin tran
go
select pt_jk_teshu from yplbk where lb_id =''
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
execute dbo.sp_jh_xs_db_kh_sl_01;1 @tempdm = 'gxpbys', @zxkh = 0, @zdkh = 15
go
commit tran
go
execute wmy_lkh_dj 'bnkj' , 'gxpbys'
go
begin tran
go
SELECT t_khdj.rq , t_khdj.pzdm , t_khdj.dj FROM t_khdj WHERE ( t_khdj.dwdm = 'bnkj' ) and ( t_khdj.pzdm = 'gxpbys' )
go
select yorn from p_kh where name ='贾玉宁' and kh ='6库'
go
execute dbo.sp_dw_xs_xgspsl;1 @tempdm = 'gxpbys', @tempkh = 6
go
select yorn from p_kh where name ='贾玉宁' and kh ='6库'
go
commit tran
go
execute wmy_lkh_dj 'bnkj' , 'gxpbys'
go
begin tran
go
SELECT t_khdj.rq , t_khdj.pzdm , t_khdj.dj FROM t_khdj WHERE ( t_khdj.dwdm = 'bnkj' ) and ( t_khdj.pzdm = 'gxpbys' )
go
select yorn from p_kh where name ='贾玉宁' and kh ='6库'
go
select dj_bz from ckyek where dm ='gxpbys' and pihao ='G5D004'
go
commit tran
go
execute sp_xs_dj 'gxpbys'
go
begin tran
go
select ccwd from dmk where dm ='gxpbys'
go
commit tran
go
execute gsp_check_hw 6 , 'gxpbys'
go
begin tran
go
commit tran
go
execute sp_xs_qpjdj 'gxpbys' , 'G5D004' , 6 , '0' , '0' , '1'
go
execute sp_xs_qzxdj 'gxpbys'
go
begin tran
go
commit tran
go
execute sp_ckyek_ckj 'gxpbys' , 'G5D004' , 6 , '0' , '0' , '1'
go
begin tran
go
commit tran
go
execute wmy_lkh_dj 'bnkj' , 'gxpbys'
go
begin tran
go
SELECT t_khdj.rq , t_khdj.pzdm , t_khdj.dj FROM t_khdj WHERE ( t_khdj.dwdm = 'bnkj' ) and ( t_khdj.pzdm = 'gxpbys' )
go
select yorn from p_kh where name ='贾玉宁' and kh ='6库'
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
commit tran
go
execute sp_xs_czdmggd 'slad'
go
begin tran
go
execute dbo.sp_dw_xs_xzspdm;1 @tempdm = 'slad%'
go
commit tran
go
execute dm_xcl 'sladp'
go
begin tran
go
commit tran
go
execute dm_xcl 'sladph'
go
begin tran
go
commit tran
go
execute dm_xcl 'sladps'
go
begin tran
go
commit tran
go
execute dm_xcl 'sladpsx'
go
begin tran
go
commit tran
go
execute dm_xcl 'sladps'
go
begin tran
go
commit tran
go
execute dm_xcl 'sladph'
go
begin tran
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
execute dbo.sp_dw_xs_xgckxs;1 @temppzh = 8028, @temprq = '2006-3-20 0:0:0.000'
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
execute dbo.sp_dw_xs_dy;1 @temppzh = 8028, @temprq = '2006-3-20 0:0:0.000'
go
commit tran
go
execute sp_xs_dyf '2006-3-20 0:0:0.000' , 8028
go
begin tran
go
select kqmc from ypkqb where left ( kq_id , 1 ) ='I'
go
select lx from gsp_ck where kh =6.000000000000000000
go
select kqmc from ypkqb where left ( kq_id , 1 ) ='J'
go
select lx from gsp_ck where kh =6.000000000000000000
go
select kqmc from ypkqb where left ( kq_id , 1 ) ='J'
go
select lx from gsp_ck where kh =6.000000000000000000
go
select kqmc from ypkqb where left ( kq_id , 1 ) ='P'
go
select lx from gsp_ck where kh =6.000000000000000000
go
commit tran
go
execute sp_xs_pzh_ljjesl 8028 , '2006-3-20'
go
begin tran
go
commit tran
go
select object_id('sp_xs_maxpzh')
go
select type, length from syscolumns where id = 724197630 and name = '@xs_rq'
go
DECLARE @P002 datetime SELECT @P002 = '2006-3-20 0:0:0.000' execute sp_xs_maxpzh @xs_max_pzh = 7999, @xs_rq = @P002 output SELECT @P002
go
begin tran
go
select count ( *) from xs where rq ='2006-3-20 0:0:0.000' and pzh =8029 and hsf =1
go
Select Dwdm , Xsdw , bm From Xs Where Pzh =8029 And Rq ='2006-3-20'
go
Select Kl From Dwk Where Dwdm =''
go
select count ( *) from xs where rq ='2006-3-20 0:0:0.000' and pzh =8029 and hsf =1
go
execute dbo.sp_dw_xs_xzghdw;1 @tempdm = 'xssd'
go
select dwdm from xs where rq ='2006-3-20 0:0:0.000' and pzh =8029
go
Select Kl From Dwk Where Dwdm ='xssdxczlrj'
go
select ywy from dwk where dwdm ='xssdxczlrj'
go
SELECT BMDM.BMMC , BMDM.BM , BMDM.bm_jzfs FROM BMDM WHERE ( BMDM.BM like '贾玉宁'+'%' ) or ( BMDM.BMMC like '贾玉宁'+'%' )
go
commit tran
go
execute sp_xs_pzh_ljjesl 8029 , '2006-3-20'
go
begin tran
go
execute dbo.sp_dw_xs_llckxs;1 @temppzh = 7999, @temprq = '1900-1-1 0:0:0.000'
go
exec sp_server_info 18
go
select @@langid
go
select dateformat from master.dbo.syslanguages where langid = 30
go
use gsp_v80
go
begin tran
go
commit tran
go
execute sp_date
go
begin tran
go
commit tran
go
execute sp_xs_bak_ckyek '2006-3-19 0:0:0.000'
go
begin tran
go
declare @P1 int
set @P1=180150000
declare @P2 int
set @P2=2
declare @P3 int
set @P3=-1
exec sp_cursoropen @cursor = @P1 output, @stmt = 'select BMMC from', @scrollopt = @P2 output, @ccopt = 4, @rows = @P3 output
select @P1, @P2, @P3
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 1, @rownumber = 0, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150000, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorclose @cursor = 180150000
go
declare @P1 int
set @P1=180150001
declare @P2 int
set @P2=2
declare @P3 int
set @P3=-1
exec sp_cursoropen @cursor = @P1 output, @stmt = 'Select p_name Fr', @scrollopt = @P2 output, @ccopt = 4, @rows = @P3 output
select @P1, @P2, @P3
go
exec sp_cursorfetch @cursor = 180150001, @fetchtype = 1, @rownumber = 0, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150001, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150001, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorfetch @cursor = 180150001, @fetchtype = 32, @rownumber = 1, @nrows = 2
go
exec sp_cursorclose @cursor = 180150001
go
select p_name , p_pass from pass where p_name ='abc'
go
SELECT pass.添加入库验收单 , pass.销售退回 , pass.库存退货 , pass.验收签字 , pass.进货复核 , pass.进货计划 , pass.缺货情况 , pass.合同管理 , pass.库存盘点 , pass.首营企业品种 , pass.查询入库及库存 , pass.添加销售单 , pass.销售复核 , pass.营业收款台 , pass.财务查询 , pass.财务收付款 , pass.药品检验 , pass.药品养护 , pass.公司人事档案 , pass.操作人员权限 , pass.系统维护 , pass.yp , pass.db , pass.fhsl , syqysq , syqysp , sqpzsq , sypzsp , shebei , xsth_shenpi FROM pass WHERE pass.p_name ='abc'
go
select count ( *) from gsp_zlys where rq <> '2006-03-20' and ( pzh > 18999 and pzh < 18999 + 1001 or pzh > 18999 + 2000000 and pzh < 18999 + 2000001 + 1000 OR pzh > 18999 + 1000000 and pzh < 18999 + 1000001 + 1000 )
go
select count ( *) from xs where rq <> '2006-03-20' and ( pzh > 18999 and pzh < 18999 + 1001 or pzh > 18999 + 2000000 and pzh < 18999 + 2000001 + 1000 OR pzh > 18999 + 1000000 and pzh < 18999 + 1000001 + 1000 )
go
select count ( *) from db where rq <> '2006-03-20' and ( pzh > 18999 and pzh < 18999 + 1001 )
go
select count ( *) from wbdb where rq <> '2006-03-20' and ( pzh > 18999 and pzh < 18999 + 1001 )
go
execute dbo.sp_skt_ssdz_jiang;1 @temprq = '2006-3-20 0:0:0.000'
go
execute dbo.sp_skt_ssdz_jiang;1 @temprq = '2006-3-20 0:0:0.000'
go |
|