srisha
Starting Member
38 Posts |
Posted - 2013-10-04 : 02:55:09
|
This is my Query :insert into GLAMF(ACCTID,AUDTDATE,AUDTTIME,AUDTUSER,AUDTORG,CREATEDATE,ACCTDESC, ACCTTYPE,ACCTBAL,ACTIVESW,CONSLDSW,QTYSW,UOM,ALLOCSW,ACCTOFSET,ACCTSRTY,MCSW,SPECSW ,ACCTGRPCOD ,CTRLACCTSW,SRCELDGID , ALLOCTOT ,ABRKID ,YRACCTCLOS ,ACCTFMTTD,ACSEGVAL01,ACSEGVAL02,ACSEGVAL03,ACSEGVAL04,ACSEGVAL05,ACSEGVAL06,ACSEGVAL07,ACSEGVAL08, ACSEGVAL09,ACSEGVAL10,ACCTSEGVAL,ACCTGRPSCD,POSTOSEGID,DEFCURNCOD,OVALUES,TOVALUES ,ROLLUPSW) select ACCTID,AUDTDATE, AUDTTIME,AUDTUSER,AUDTORG,CREATEDATE,ACCTDESC,ACCTTYPE,ACCTBAL,ACTIVESW,ISNULL(CONSLDSW,0),ISNULL(QTYSWM,0),ISNULL(UOM,0), ISNULL(ALLOCSW,0),ISNULL(ACCTOFSET,0),ISNULL(ACCTSRTY,0),ISNULL(MCSW,1),ISNULL(SPECSW,0) ,ISNULL(ACCTGRPCOD,0) , ISNULL(CTRLACCTSW,0),ISNULL(SRCELDGID,0) ,ISNULL(ALLOCTOT,0) ,ISNULL(ABRKID,0) ,ISNULL(YRACCTCLOS,0) , ACCTFMTTD,ISNULL(ACSEGVAL01,0),ISNULL(ACSEGVAL02,0),ISNULL(ACSEGVAL03,0),ISNULL(ACSEGVAL04,0),ISNULL(ACSEGVAL05,0), ISNULL(ACSEGVAL06,0),ISNULL(ACSEGVAL07,0),ISNULL(ACSEGVAL08,0),ISNULL(ACSEGVAL09,0),ISNULL(ACSEGVAL10,0),ISNULL(ACCTSEGVAL,0), ISNULL(ACCTGRPSCD,0),ISNULL(POSTOSEGID,0),ISNULL(DEFCURNCOD,0),ISNULL(OVALUES,0),ISNULL(TOVALUES,0) ,ISNULL(ROLLUPSW,0) from GLAMFSAMP where ACCTID like '%VELJJJ112%'--------------------------BYSRISHA |
|
|