Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7946421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:08:51+00:00 2026-06-04T01:08:51+00:00

I have an SQL MERGE statement working perfectly in Oracle 11g (development environment), but

  • 0

I have an SQL MERGE statement working perfectly in Oracle 11g (development environment), but it gives me the following error when I try to run it in Oracle 9i (Production environment): ORA-00905: missing keyword.

Is there any way to make this work in Oracle 9i? Here is statement:

MERGE INTO non_asset dst
   USING (SELECT tag, comments, computer_role
            FROM non_asset_backup
           WHERE sub_group = 'AALVOIP') src
   ON (dst.tag = src.tag)
   WHEN MATCHED THEN
      UPDATE
         SET dst.comments = src.comments,
             dst.computer_role = src.computer_role
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:08:53+00:00Added an answer on June 4, 2026 at 1:08 am

    In 9i both the WHEN MATCHED and the WHEN NOT MATCHED branches were mandatory. In 10g and after one of them can be missing (but not both, obviously).
    See http://docs.oracle.com/cd/B10501_01/server.920/a96540/statements_915a.htm#2080942 vs. http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9016.htm#i2081218

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a working T-SQL MERGE statement. The premise is that Database A
I have been trying to introduce a Merge statement into the following SQL query
I am executing the following merge statement in SQL Server 2008: MERGE PopulationData AS
I have the following PL/SQL being sent to a remote oracle 11gr2 server via
I am attempting to insert many records using T-SQL's MERGE statement, but my query
I have an application that uses the Oracle MERGE INTO... DML statement to update
I've been using the MERGE operation in SQL Server 2008, but have now come
I have looked at various example of the SQL Merge statement.. all of which
I have a basic understanding of the MERGE syntax for SQL Sever 2008 but
Hi all i have the following merge sql script which works fine for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.