January 21, 2008 at 1:53 pm
We have a BOM table where the parent and children have a many-to-many relationship. Since each parent can have more than two children, it is not a binary tree. I created a recursive stored procedure that works well in SQL Server 2005 but fails in SQL Server 2000 with an "Invalid cursor state error". I believe that it is due to SQL Server 2000's recursion limit of 32. Does anyone know of a way around this limit?
January 21, 2008 at 2:21 pm
may be able to help of u post what u have
January 21, 2008 at 3:14 pm
No... cannot change the limit in SQL Server 2000.
Yes, you can work around it... take a look at "Expanding Hierarchies" in Books Online for details.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply