Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Dropping a foreign key relation and adding it

Author  Topic 

sarorelasoul
Starting Member

29 Posts

Posted - 2013-01-06 : 05:41:15
Hello,

I'm currently updating data in an oracle database using sql developer.I have 2 tables that have a foreign key relation, I tried to update both o f them together but it didn't work so I dropped the foreign key relation and updated them.Now I'm trying to add the relation again but it fails because the table has data. How can I solve this problem?
Or if there is another way to update both tables I 'd highly appreciate it

Thanks

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2013-01-06 : 06:06:55
This is a SQL Server forum - so it might be worth posting on an Oracle forum

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-01-06 : 10:09:28
you can find one at www.dbforums.com or www.orafaq.com

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -