First i will post the Structure of My Table:
SELECT * from categories order by Treedepth
CREATE TABLE [dbo].[categories](
[catID] [bigint] IDENTITY(1,1) NOT NULL,
[parentID] [int] NULL DEFAULT ('0'),
[CatName] [varchar](255) NULL,
[CatLongDesc] [text] NULL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.