Viewing 3 posts - 1 through 3 (of 3 total)
Thanks for the solution, I have upto 100 int values depending on the options selected, so the Function iter_intlist_to_table works fine and is now up and running.
Solution copied from...
January 1, 2008 at 1:52 pm
I've had a search and found this article which creates the hierarchy in a sql statements - brill
http://www.sqlteam.com/item.asp?ItemID=8866
Thanks for help
Graham
May 23, 2005 at 4:16 pm
The code I'm using to navigate the tree is below:
However, when I run this, one iteration affects the others.
CREATE PROCEDURE dbo.sp_Load_CostCode
@PrevCostObj_ID int
AS
DECLARE
-- Cursor Fields
@CostObj_ID int
BEGIN
set nocount on
DECLARE curLevel CURSOR...
May 23, 2005 at 3:26 am
Viewing 3 posts - 1 through 3 (of 3 total)