Hi everybody, I have problem Regarding cascade delete. Can somebody please tell me the syntax for cascade delete at time of creation of table. I have following two tables Please modify them for cascade delete...
CREATE TABLE User_Type(
Type_ID int primary key,
Type_Name char(50)
);
CREATE TABLE Users(
User_ID int primary key,
User_Name char(50),
User_Type int references User_Type(Type_ID)
);
Cascade Delete Simple question
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Madhu KRank #1,514 · 1.1K reputationPosted Apr 25, 2011, 11:17 PM EDT
Delete records with JOIN
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 25, 2011, 11:28 PM EDT
http://www.java2s.com/Code/SQLServer/Constraints/DELETECASCADEandUPDATECASCADE.htm
Zeb Rehman68 reputationPosted Apr 25, 2011, 11:47 PM EDT