Viewing 15 posts - 52,996 through 53,010 (of 59,068 total)
Good idea... in fact, that's exactly what my code does... but there's nothing in the data to determine what level a node is at... just the parent ID, etc... and...
January 9, 2008 at 1:53 pm
Perfect... thanks for the feedback, Shaun.
To keep conflicts with the Left and Right keywords to a minimum, I use LeftBower and RightBower in my code. A "bower" is one...
January 9, 2008 at 1:48 pm
He has code that inserts and increases the left and right indicies... most of my code is batch code so I just recalc the whole tree from the adjacency model.
January 9, 2008 at 8:59 am
Shaun McGuile (1/9/2008)
Ok I found ithttp://www.dbmsmag.com/9603d06.html
Whoa thats like 12 years old almost. 😀
--Shaun
Heh... yeah... the good stuff never changes 😀
January 9, 2008 at 8:04 am
Shaun McGuile (1/9/2008)
Jeff do you have a link to Celko's "nested model"?--Shaun
You bet...
http://www.ibase.ru/devinfo/DBMSTrees/sqltrees.html
If memory serves, the code that creates the nested model has a minor error in it... it leaves...
January 9, 2008 at 7:48 am
berto (1/9/2008)
January 9, 2008 at 7:32 am
The question is wrong on the basis of design and the modeling of the parent child relationship using one column is totally flawed.
Actually, I believe the whole "adjacency model" thingy...
January 9, 2008 at 7:25 am
Stewart Joslyn (1/9/2008)
If you are returning a...
January 9, 2008 at 7:12 am
GilaMonster (1/8/2008)
statements for...
January 9, 2008 at 7:11 am
If memory serves correctly, I believe the numerics at the end of the temp table are just a timestamp datatype. Not sure why you would consider them to be...
January 9, 2008 at 7:04 am
JohnG (1/8/2008)
January 8, 2008 at 9:57 pm
sp_SpaceUsed may not tell the whole story unless you include a second parameter... see BOL for more info but here's the basic syntax...
Syntax
sp_spaceused [[@objname =] 'objname']
...
January 8, 2008 at 9:01 pm
Well..... kinda... DBCC INDEXDEFRAG will report back once every 5 minutes with a % complete... so you could start a run and get the % complete... the math is pretty...
January 8, 2008 at 8:54 pm
Viewing 15 posts - 52,996 through 53,010 (of 59,068 total)