SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Confio Ignite 8

Manipulating Hierarchies with HIERARCHYID

SQL Server 2008 introduced the new HIERARCHYID data type which is used to represent position in a heirarchy. This video shows you how to manipulate heirarchies using the new HIERARCHYID data type.

Duration:
2 mins 40 secs
Skill Level:
100
Rating:
3.97 out of 5
Publish Date:
November 06, 2008
Manipulating Hierarchies with HIERARCHYID You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Plamen Ratchev
Plamen Ratchev has over two decades experience in the software architecture and development field. He has enjoyed building solutions for UNIX, DOS and Windows platforms, with main focus on SQL Server since version 4.21. Plamen is founder of Tangra, specializing in relational database applications analysis, implementation, and tuning. His particular interest is in design patterns, performance a...

References



Comments
Murali on 7/23/2009
information is useful, but better explanation of hierarchyid is needed and there many features left unexplained.

datamama on 7/24/2009
A better explanation of why this new datatype and method is better than the 'old' method of using a self-referencing key to define employee hierachies.

R on 7/24/2009
Neat

Plamen Ratchev on 7/24/2009
HIERARCHYID is in essence an optimized materialized path method. As such it provides very effective method to store hierarchies, and the variety of CLR method available make querying a lot easier than traditional hierarchy methods. Here is a good overview of HIERARCHYID with more details: http://msdn.microsoft.com/en-us/library/bb677173.aspx

josh on 7/24/2009
an interesting exposure, but not much explanation of techiniques or syntax used

Mark Orlando on 7/24/2009
Excellent...just what I was looking for. Only downside is the code was not available for download.

Dick Rosenberg on 7/24/2009
Went by too fast to understand

Travis on 7/24/2009
Once again, very good Plamen. But providig code would also be very nice with your videos...

Andy Warren on 7/26/2009
Code for this video been added as a refernce - upper right corner!

Mike on 7/26/2009
not much to it :P

George Maddux on 7/28/2009
Hard to understand speaker. Too heavy an accent

Steve Harris on 8/24/2009
Not enough detail. What are the methods associated with the new HIERARCHYID data type? The way you use them in the select and update statements also seems to be complex and was not talked about in the video.

Plamen Ratchev on 8/25/2009
Steve, There are many methods and the video format is not long enough to demonstrate all in detail. Here is reference to all methods with details: http://msdn.microsoft.com/en-us/library/bb677193.aspx

Richard Cook on 9/18/2009
Concise look at updating a record in hierarchy. Are there some advanced concepts?

Plamen Ratchev on 9/18/2009
Richard, here are a few links to details on more advanced topic like enforcing a particular hierarchy, converting from another method, etc.: http://technet.microsoft.com/en-us/library/bb677212.aspx http://technet.microsoft.com/en-us/library/bb677173.aspx http://technet.microsoft.com/en-us/library/bb677213.aspx Getting to more advanced concepts requires navigating to particular usage scenario and exploring the specifics of the implementation.

Keith Badeau on 5/18/2011
Thanks for this video and all the others you've done, I'm always looking forward to watching them.

madhavi on 12/23/2011
good

Eric on 12/23/2011
very hard to understand commentator

172A9B06FE on 12/23/2011
Too brief, not nearly enough detail.

Michael Sidley on 12/23/2011
Would have been helpful to learn the basics of how the hierarchyid works but maybe that was in another video.

Kristeen Sellers on 12/23/2011
I do not currently work w/ org charts, but have in the past. This is a wonderful addition by SQL. I would have like to see it go one step further, showing an SSRS report using the heirachy type to create the chart

Russ Blake on 12/23/2011
Not all method calls are explained. This is a tough trade-off: short vs. comprehensive. However in an introductory video, perhaps the function of each method should at least be mentioned. Great video. Good English! Well done!

T. Carnahan on 12/29/2011
Some background/syntax on the various functions would be helpful.

Randall Price on 1/3/2012
Wow! This is a very powerful addition to SQL Server that I did not know about. Thanks.

Carrie on 1/4/2012
Most of the time I love these videos because their brief. However, I didn't understand when I would implement this feature in a real world scenario. I was a little confused after the video. A little more explanation about the functionality would have been helpful.

A Alagu Ganesh on 3/30/2012
Good



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions