smartipants2002
Programmer
Hi everybody,
I am using a sql server2000.when i gave the following command :
Alter Table post
Add CONSTRAINT fk_response1 FOREIGN KEY(response)
REFERENCES post(postid)
ON DELETE CASCADE
And got the following error in return :
Server: Msg 1785, Level 16, State 1, Line 1
Introducing FOREIGN KEY constraint 'fk_responseto1' on table 'postIt' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.
Server: Msg 1750, Level 16, State 1, Line 1
Could not create constraint. See previous errors.
Any ideas anyone????????
I am using a sql server2000.when i gave the following command :
Alter Table post
Add CONSTRAINT fk_response1 FOREIGN KEY(response)
REFERENCES post(postid)
ON DELETE CASCADE
And got the following error in return :
Server: Msg 1785, Level 16, State 1, Line 1
Introducing FOREIGN KEY constraint 'fk_responseto1' on table 'postIt' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.
Server: Msg 1750, Level 16, State 1, Line 1
Could not create constraint. See previous errors.
Any ideas anyone????????