INSERT
CLMSQ
Any idea?
arep
INSERT
CLMSQ
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
A RepaskyRank #8,108 · 228 reputationPosted Jan 2, 2013, 8:52 AM EST
SELECT FORMN + 'E' + cast(CHKDT AS varchar2(8)),Jignesh TrivediRank #16 · 50.3K reputationPosted Jan 2, 2013, 6:18 PM EST
i think this error due to conversion date to varchar.
can please know us what error you are getting?
also share data type of inserting and selecting table.
thx.
A RepaskyRank #8,108 · 228 reputationPosted Jan 2, 2013, 6:54 PM EST
INSERT INTO PROF_HIST
(ClaimNbr, ClaimLine, Copay, Deduct, SubmissionPeriod)
SELECT FORMN || 'E' || PSVDT as ClaimNbr,
CLMSQ,
COPAM,
DCTAM,
CHKDT
FROM HENCDP