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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Identify Cascade delete option

Author  Topic 

goelamit_23@sify.com
Starting Member

1 Post

Posted - 2006-08-30 : 06:49:53
how to identify whether a foreign key has cascade delete option turned on in a select Query?

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-08-30 : 07:06:33
[code]SELECT * FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS WHERE DELETE_RULE = 'CASCADE'[/code]

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page
   

- Advertisement -