$ 0 0 When i change TRIM(CAST(SRCID AS BIGINT)) to TRIM(CAST(SRCID AS VARCHAR)) & TRIM(CAST(DIAG_CD_ORDR_NBR AS BIGINT)) to TRIM(CAST(DIAG_CD_ORDR_NBR AS VARCHAR)), its giving no error and working fine....
When i change TRIM(CAST(SRCID AS BIGINT)) to TRIM(CAST(SRCID AS VARCHAR)) & TRIM(CAST(DIAG_CD_ORDR_NBR AS BIGINT)) to TRIM(CAST(DIAG_CD_ORDR_NBR AS VARCHAR)), its giving no error and working fine....