sql = "select top 1 '0' as recieve_0002_E002_PK,''Rcode_ID,'' as RexchName,''as Sdate,''as SoutDate,''Stype,''SCode,''Svender,''SCustemer,''SinCome,''SOutCome,''SState,''SDigest,''SMemo,''RupdateDate,''Rmaker, ''SBalance,'' SSvalue from my_recieve_new_QC "
+"union all "
+"select recieve_0002_E002_PK,Rcode_ID,RexchName,Sdate,SoutDate,Stype,SCode,Svender,SCustemer,CONVERT(varchar(100),SinCome)SinCome,CONVERT(varchar(100),SOutCome)SOutCome,SState,SDigest,SMemo,RupdateDate,Rmaker,'0'SBalance,'0'SSvalue from my_recieve_new Rcode_ID = :scodeId"; |