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 6993483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:46:13+00:00 2026-05-27T19:46:13+00:00

I am using oracle 10g. I tried to merge two tables. At that time

  • 0

I am using oracle 10g. I tried to merge two tables. At that time i got the following error…
ora-30926 unable to get a stable set of rows in the source tables.

The following is my query

merge into mt_test_dest t
using (select distinct d.dest_id dest_id,
                       d.c_id,
                       nvl(tt.destination, tt.destination) destination
         from my_dest_extra d
         join mt_test_dest tt
           on d.c_id = tt.dest_cid
         join my_dest dml
           on dml.dest_id = d.dest_id
        where tt.effectivedate <> to_date('12-12-2999', 'dd-mm-yyyy')) src
on (t.dest_cid = src.c_id)
when matched then
  update set t.dest_id = src.dest_id, t.destination = src.destination;

Can someone help me out in this issue?

  • 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-05-27T19:46:14+00:00Added an answer on May 27, 2026 at 7:46 pm

    The most likely cause for the error is that your source query contains multiple rows with the same C_ID. If this happens, you have two or more rows competing to update the same data in the target table (since this column is used as the only join condition). Oracle detects this and throws an ORA-30926 error.

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

Sidebar

Related Questions

I am working with an Oracle 10g Database. I have the following two tables:
I am using Oracle 10g. and I have the following relational structure that I
I am using Oracle 10g and I have the following stored procedure: CREATE OR
I have two very large enterprise tables in an Oracle 10g database. One table
I am using Oracle 10g and the following paradigm to get a page of
I am designing a new report using oracle reports builder that comes with 10g.
I am using oracle 10g I need to get the difference between two dates
I'm using Allround Automation PL/SQL Developer with Oracle 10g, and today I've noticed that
I'm using SQL*Plus 9.2 on Oracle 10g enterprise. I have created some scripts that
I have written a C# application that connects to an Oracle 10g database. Using

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.