Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2008, 10:01 AM
Registered User
 
Join Date: Apr 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mahen_pali Send a message via Yahoo to mahen_pali
Default How can i add constraint on update cascade without

Hello All

I am dotnet developer
when i add foreign key constraint for on update cascade,on delete cascade then i get this error

Please Help me to short it out

Msg 1785, Level 16, State 0, Line 1
Introducing FOREIGN KEY constraint 'Fk_Dealer_Country' on table 'Dealer' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.
Msg 1750, Level 16, State 0, Line 1
Could not create constraint. See previous er

mahendra singh
 
Old May 3rd, 2008, 03:28 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What is the schema of the tables involved with this key?

-Peter
compiledthoughts.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
using VBA to implement cascade update~~~HELP bbqlee Access 2 August 7th, 2006 02:04 AM
Cant ADD CONSTRAINT (ergent) melvik MySQL 3 April 18th, 2006 01:16 AM
How to add constraint to access bounded form. method Access 1 June 28th, 2005 10:39 AM
How apply cascade update/delete in sql server ? method SQL Server 2000 2 May 14th, 2005 12:02 PM
Access SQL alter table add constraint Skipmeok SQL Language 0 April 27th, 2004 08:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.