本文介绍了SQL Server 2005中的HierarchyID数据类型的任何选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下查询sql server 2005的错误



错误:

I am getting an error for below query for "sql server 2005"

Error:

Type hierarchyid is not a defined system type.







<pre>HierarchyID Data Type</pre>

<pre> select *from [TestingDB].[dbo].[Table_1] ORDER BY CAST('/' + id + '/' AS hierarchyid)</pre>

As i know that it is featured provided by sql server 2008 R2 so that i got above error for <pre>"sql server 2005"</pre>

How can i used it for <pre>"sql server 2005"</pre>







请帮助



感谢所有人花时间研究这个问题..



问候,



Nitin




Please help

Thanks to all for their valuable time for looking into this issue..

Regards,

Nitin

推荐答案


这篇关于SQL Server 2005中的HierarchyID数据类型的任何选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 03:48