|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 7:40 AM
Points: 1,
Visits: 50
|
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 5:01 AM
Points: 4,815,
Visits: 1,343
|
|
Good article. The concept will be more clear when I started to use SQL Server 2008. But kudos to the author.
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 12:47 PM
Points: 10,613,
Visits: 11,958
|
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: 2 days ago @ 12:40 PM
Points: 748,
Visits: 905
|
|
This article was clear, concise, and well written, and it will be a big help when we do make the transition to SQL Server 2008.
I am curious about the performance testing you listed though. Have you tried any time tests on similar datasets to get actual time results? Could your choice of indexes have had a major impact on it?
--- Timothy A Wiseman SQL Blog: http://timothyawiseman.wordpress.com/
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, August 03, 2009 10:03 AM
Points: 5,
Visits: 25
|
|
| Sorry but I was lost after the first part of the article. I don't know if you are a non-english speaker but you speak in incomplete sentences and it makes your article hard to follow.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, September 12, 2008 1:58 PM
Points: 16,
Visits: 81
|
|
JPR thanks, articles like your's help us to better understand this new feature.
We're curious about MS's approach to inserting a sibling between two others. It looks like after all the "slash delimited" path info (we understand its not really slashes but rather some binary scheme), an id is available that can be used to order "this" node in a consistent fashion relative to it's siblings.
So pretending like periods are used, let's say we want to insert a sibling between siblings 1.2 and 1.3. We assume the new id would be 1.2.1. Can you tell us how many more bytes (or nibbles or bits) it took to represent 1.2.1 than either 1.2 or 1.3?
Also, if we keep inserting after the last id, between 1.2.1 and 1.3, 1.2.2 and 1.3, 1.2.3 and 1.3 etc, will we go up to 1.2.256 before rolling over to 1.2.256.1?
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Today @ 7:58 AM
Points: 39,
Visits: 296
|
|
Nice article.
Does anyone know if AS in SS08 supports the HierarchyID type for parent-child hierarchies? There's a lot of very specific logic in AS for the current linkage (ID and parentID columns) approach.
Also, it seems to me that the performance aspects would need to be considered carefully on an application basis: if re-parenting a sub-tree is a frequent application function, I would think the current linkage approach would dramatically outperform the new HierarchyID type approach. Similarly, if an application executes more queries that are only interested in a single level (not a full sub-tree), performance with the existing approach would be generally better.
-frank
The End.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Tuesday, June 21, 2011 10:03 AM
Points: 577,
Visits: 102
|
|
Thanks for the article! Hierarchy functionality is always tricky, and this just might simplify it. I'll need to play around with it.
I'm wondering if this solves the complexities inherent in the adjacency model we all know and love so well /sarcasm.
Is there talk about this being a new ansi standard, or it is destined to be a vendor specific implementation? I'll use it either way, but more convenient if cross platform compatibility is at least an option.
I also like Change Data Capture for ETL, it's very convenient and powerful. And the new Merge syntax is sweet, and does away with multiple source updates to the same destination.
It seemed like English was your second language, which is awesome, good job. However, you might want to get a native speaking English person to act only as editor; your articles will be stronger for it.
Signature is NULL
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, August 04, 2009 10:04 AM
Points: 1,
Visits: 27
|
|
Wow, I barely understood a word of this article! Hopefully the SS documentation will do a better job of explaining this data type, because now I'm not sure what it does!
I realise that English is not everyone's first language, but then again not everyone is attempting to write articles in a language they have barely grasped.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Tuesday, June 21, 2011 10:03 AM
Points: 577,
Visits: 102
|
|
There are constructive ways to say things and non-constructive ways to say things. Didn't your momma teach you the difference between these?
Signature is NULL
|
|
|
|