declare @updatecount int begin TRAN DECLARE @tbid INTSELECT @tbid=iMax FROM tbID WHERE strName='ipcclid' INSERT into pccl(ipcid,cph,crkdbh,drq,iywdwid,cywdwbh,cywdwmc,iclbh,cclbh,cclmc,cgg,cdw,nwjsl,nwjdj,nwjje,cRemark,cPeriod,cBillCode_Buy,cBuyUnit,…