SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 ora-0001, oracle
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Zajcica
Starting Member

Romania
22 Posts

Posted - 06/17/2013 :  12:56:24  Show Profile  Reply with Quote
Please!
I am adding new row!
wrote:

insert into program (c1c2...) values (v1,v2...); and am getting ora-00001.

Please, I tried to oracle forum but they are all closed...need instant help!

What might be wrong?

p.s. habe one primary key and one foreign...but this should NOT interfear, because i can use any fk_ id I want, don+t I? (in this example!)

Many thanks!

James K
Flowing Fount of Yak Knowledge

3593 Posts

Posted - 06/17/2013 :  13:01:50  Show Profile  Reply with Quote
quote:
Originally posted by Zajcica

Please!
I am adding new row!
wrote:

insert into program (c1c2...) values (v1,v2...); and am getting ora-00001.

Please, I tried to oracle forum but they are all closed...need instant help!

What might be wrong?

p.s. habe one primary key and one foreign...but this should NOT interfear, because i can use any fk_ id I want, don+t I? (in this example!)

Many thanks!

I am not an oracle expert - but ORA-0001 appears to be a uniqueness constraint violation. Check which columns have uniqueness constraints. Then examine the data in those columns and compare with the data you are going to insert to see if there are any duplicates.
Go to Top of Page

robvolk
Most Valuable Yak

USA
15663 Posts

Posted - 06/17/2013 :  17:27:25  Show Profile  Visit robvolk's Homepage  Reply with Quote
Did you try http://www.dbforums.com/oracle/ ?
Go to Top of Page

bandi
Flowing Fount of Yak Knowledge

India
2206 Posts

Posted - 06/18/2013 :  00:16:07  Show Profile  Reply with Quote
Here, You can see the error cause
http://www.techonthenet.com/oracle/exceptions/named_system.php

--
Chandu
Go to Top of Page

Zajcica
Starting Member

Romania
22 Posts

Posted - 06/18/2013 :  02:46:29  Show Profile  Reply with Quote
quote:
Originally posted by James K

quote:
Originally posted by Zajcica

Please!
I am adding new row!
wrote:

insert into program (c1c2...) values (v1,v2...); and am getting ora-00001.

Please, I tried to oracle forum but they are all closed...need instant help!

What might be wrong?

p.s. habe one primary key and one foreign...but this should NOT interfear, because i can use any fk_ id I want, don+t I? (in this example!)

Many thanks!

I am not an oracle expert - but ORA-0001 appears to be a uniqueness constraint violation. Check which columns have uniqueness constraints. Then examine the data in those columns and compare with the data you are going to insert to see if there are any duplicates.



Yes, I have to imput sport. I have 10 sports in the table and tried to add 11th one. WHat the hell should be double? Atributs are just about sports (name, id, names in different languages..)

MANY THANKS ALL!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000