Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error: Not a valid Identifier

WijAug 18 2016 — edited Aug 29 2016

Hi,

I created an interface that relate source table to target table.

Interface_error.PNG

I get this error:

error_insert.PNG

error_insert_caused by.PNG

This is the code:

/* DETECTION_STRATEGY = NOT_EXISTS */

insert /*+ append */ into PHOSDW.I$_BACH

(

CODEBACH,

DATEBACH,

IND\_UPDATE

)

select

CODEBACH,

DATEBACH,

IND\_UPDATE

from (

select

C1\_CODEBACH CODEBACH,

C2\_DATEBACH DATEBACH,

'I' IND\_UPDATE

from PHOSDW.C$_0BACH

where (1=1)

) S

where NOT EXISTS

( select 1 from PHOSDW.BACH T

where    T.IDBACH    = S.IDBACH 

     and ((T.CODEBACH = S.CODEBACH) or (T.CODEBACH IS NULL and S.CODEBACH IS NULL)) and

    ((T.DATEBACH = S.DATEBACH) or (T.DATEBACH IS NULL and S.DATEBACH IS NULL))

    )

If you can help me to find a solution. Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2016
Added on Aug 18 2016
1 comment
374 views