INSERT
CLMSQ
Any idea?
arep
INSERT
CLMSQ
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
A RepaskyPosted Jan 2, 2013, 11:54 PM
INSERT INTO PROF_HIST
(ClaimNbr, ClaimLine, Copay, Deduct, SubmissionPeriod)
SELECT FORMN || 'E' || PSVDT as ClaimNbr,
CLMSQ,
COPAM,
DCTAM,
CHKDT
FROM HENCDP
Jignesh TrivediPosted Jan 2, 2013, 11:18 PM
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 RepaskyPosted Jan 2, 2013, 1:52 PM
SELECT FORMN + 'E' + cast(CHKDT AS varchar2(8)),