Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> inserting distinct values from another table

inserting distinct values from another table

From: <m.mocha_at_gmail.com>
Date: 14 May 2005 08:30:54 -0700
Message-ID: <1116084654.576254.83240@o13g2000cwo.googlegroups.com>


I'm not sure why this doesn't work:

insert into courses (CCode, Title, SCode) select distinct CCode, Title, SCode
from TMPT05

I still get the ERROR at line 1:
ORA-00001: unique constraint (SYSTEM.SYS_C003020) violated Received on Sat May 14 2005 - 10:30:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US