打印本文 打印本文 关闭窗口 关闭窗口
某一m1卡收费管理系统有问题明细记录数据t-sql排查代码(草稿)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2769  更新时间:2007/11/14 13:12:27  文章录入:mintao  责任编辑:mintao
sp;   --print ''''丢失前记录:''''+ @customerid1+''''  ''''+@opcount1+''''  ''''+@dt1+''''  ''''+@statid1+''''  ''''+@port1+''''  ''''+@term1
          --print ''''丢失后记录:''''+ @customerid2+''''  ''''+@opcount2+''''  ''''+@dt2+''''  ''''+@statid2+''''  ''''+@port2+''''  ''''+@term2  
        end
    fetch next from pk_rec into @customerid1,@opcount1,@dt1,@statid1,@port1,@term1
    fetch next from pk_rec into @customerid2,@opcount2,@dt2,@statid2,@port2,@term2
  end
  close pk_rec
  deallocate pk_rec
  fetch next from pk_custid into @customerid
end
close pk_custid
deallocate pk_custid

--结束处理代码
drop table #temp

 

上一页  [1] [2] 

打印本文 打印本文 关闭窗口 关闭窗口