SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 cascade delete (32 nested levels issue)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jaanazam
Starting Member

India
5 Posts

Posted - 07/27/2011 :  11:14:00  Show Profile
Hi

by refering the following thread.
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=14594

i need to delete the records in child tables which references the id of the parent table.
i used the above sp : "spCascadeDeleteLong".
it runs good but giving the following error due to nested levels exceeding 32 could you please paste the new version of code which solves the problem of nested levels as iam using the SQL2005

Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32).


its very urgent i need to solve this issue.
expecting the quick response from you.

thanks in advance

Azam.

robvolk
Most Valuable Yak

USA
15670 Posts

Posted - 07/27/2011 :  12:05:28  Show Profile  Visit robvolk's Homepage
Dupe, please refer: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=163558
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000