Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

on delete cascade

Status
Not open for further replies.

smartipants2002

Programmer
Apr 27, 2002
6
0
0
IN
I have a table named post where in the postid field is the primary key field and in that same table the response field is the foreign key field to the postid field.
Now my question is how can i implement delete cascade on them through code? Of course i am using Microsoft SQL Server.

Please help.It is urgent.
Thanks
 
Interested readers may like to review thread220-260448 to get some additional background on this discussion.


sp2002:
I'm leaning toward the suggestion re: adding a new column to the table. How would you feel about that?
-------------------------------
bperry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top