Skip to Main Content

Oracle Forms

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!

how to execute a merge command in forms button pressed trigger

600557Feb 20 2012 — edited Feb 22 2012
Hi all,

I was trying to execute a merge command query in when button pressed trigger. When compiling it is showing an error
" Encountered the symbol "INTO" when expecting one of the following :
:= .(@;<a SQL statement> "

merge into tablename s using tablename on (condition)
when matched then
update set (condition)
when not matched then
insert (condition)
is the syntax that i used.

The version of oracle im using is 10g forms and 10.2.0.1.0 database. 32-bit Windows XP is the OS.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2012
Added on Feb 20 2012
3 comments
1,118 views