I have a table that simulates a tree. For example:
DECLARE @t TABLE(id int,parentId int,name varchar(max));
insert @t select 1, 0 ,'Category1'
insert @t select 2, 0, 'Category2'
insert @t select 3, 1, 'Category3'
insert...
asked by
25.04.2014 / 18:43