﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss content posted by Additional Articles / Article Discussions / Article Discussions by Author  / HierarchyID / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 13:05:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>I don't think you should take the blame for this one.  I think Books Online should be more explicit.This was a great learning experience!  I will now know that anything with methods must be a CLR type.):-D</description><pubDate>Thu, 14 Feb 2008 09:24:54 GMT</pubDate><dc:creator>Dr. Diana Dee</dc:creator></item><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>There isn't a great reference out there, and apologies for not getting a better one. The HierarchyID, from what I've seen from various sources, is a binary representation of a hierarchy, and it's implemented as a CLR type. The ToString() method will return a string representation with slashes, but the type itself is essentially a UDT, that's built into the system.</description><pubDate>Thu, 14 Feb 2008 09:17:44 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>[quote][b]Kelsey.Thornton (2/14/2008)[/b][hr]I was reading the same article, and inferred from the fact that it "is available to CLR clients as the SqlHierarchyId data type" that the CLR data type was in fact SqlHierarchyId.The representation used in the article suggest that is is some kind of string (as it mentions slashes etc.).  The fact that you convert it to nvarchar by using the ToString method made me think it must, therefore, be a varchar type...[/quote]Agree...nvarchar or varchar also due to the size of the sqlhierarchyid making it too big to be an int.  The clr type is SQLhierarchyid.</description><pubDate>Thu, 14 Feb 2008 08:41:06 GMT</pubDate><dc:creator>Bob Griffin</dc:creator></item><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>I was reading the same article, and inferred from the fact that it "is available to CLR clients as the SqlHierarchyId data type" that the CLR data type was in fact SqlHierarchyId.The representation used in the article suggest that is is some kind of string (as it mentions slashes etc.).  The fact that you convert it to nvarchar by using the ToString method made me think it must, therefore, be a varchar type...</description><pubDate>Thu, 14 Feb 2008 03:01:59 GMT</pubDate><dc:creator>Kelsey Thornton</dc:creator></item><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>In addition to providing a good summmary of the new features of sql server 2008, the following link provides a much better explanation:http://www.windowsdevpro.com/Pages/Content/1717/1717.aspxKind Regards,Jen</description><pubDate>Thu, 14 Feb 2008 02:59:11 GMT</pubDate><dc:creator>Jen-574053</dc:creator></item><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>Ditto to what Dr Diana Dee said - I was at the same article.  It feels like there is something missing here in terms of clarifying information...</description><pubDate>Wed, 13 Feb 2008 23:54:23 GMT</pubDate><dc:creator>Stephanie J Brown</dc:creator></item><item><title>RE: HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>I was at that very page in SQL 10 Books Online:http://msdn2.microsoft.com/en-us/library/bb677290(SQL.100).aspxAnd I quote:"The hierarchyid data type is a variable length, system data type."and"The hierarchyid type is available to CLR clients as the SqlHierarchyId data type."Does the fact that the hierarchy type has methods mean it is a CLR type?  That would be the only clue I could see in that article that it is a CLR type.  The article never explicitly says that.I always have trouble reading between the lines.  I always need things said explicitly.):-D</description><pubDate>Wed, 13 Feb 2008 22:16:04 GMT</pubDate><dc:creator>Dr. Diana Dee</dc:creator></item><item><title>HierarchyID</title><link>http://www.sqlservercentral.com/Forums/Topic455508-462-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/SQL+Server+2008/62217/"&gt;HierarchyID&lt;/A&gt;[/B]</description><pubDate>Wed, 13 Feb 2008 22:12:31 GMT</pubDate><dc:creator>Site Owners</dc:creator></item></channel></rss>