hierarchyid
Updating "Hierarchyid" in SQL Server
I\'ve used Hierarchyid data type in one of my tables in SQL Server. Now I want to change the father开发者_C百科 of one of the rows, but when I change that all its descendant HierarchyId\'s must chang[详细]
2023-01-12 11:46 分类:问答SQL 2008 HierarchyID support in NHibernate
Searched various NHibernate lists and haven\'t come up with a definitive answer.The SQL2008 dialect doesn\'t appear to have support for the HierarchyID data type - new date and time types only.[详细]
2023-01-10 03:00 分类:问答How do you get all ancestors of a node using SQL Server 2008 hierarchyid?
Given a table with a hierarchyid type column, how do you write a query to return all rows that are a开发者_运维技巧ncestors of a specific node?[详细]
2023-01-04 23:09 分类:问答Ordering in dropdown in MVC
I\'ve a problem with a dropdown in a view in MVC. The option-elements in the dropdown comes from a table and should be ordered by a hierarchyId column. I\'ve made a view which orders correctly, but wh[详细]
2023-01-04 22:18 分类:问答Should I worry about running out of HierarchyIDs?
When you ask for a new HierarchyID between two others, the result gets progressively longer.For example, between 2/5.6 and 2/5.7 there\'s only 2/5.6.1 and other 4 component paths.The HierarchyID data[详细]
2022-12-30 04:15 分类:问答SQL 2008 HierarchyID - Select X descendants down
How can I query a table which has a column of data type HIERARCHYID and get a list ofdescendants X levels deep under an employee?[详细]
2022-12-29 07:46 分类:问答How Many .NET DataSources should I have?
I\'m fairly new to database programming in .NET. If I want to call several existing queries from the same database for different tasks, should I have one DataSource per database, per database connect[详细]
2022-12-28 11:47 分类:问答Question about SQL Server HierarchyID depth-first performance
I am trying to implement hierarchyID in a table (dbo.[Message]) containing roughly 50,000 rows (will grow substantially in the future). However it takes 30-40 seconds to retrieve about 25 results.[详细]
2022-12-28 09:34 分类:问答Materialized path pattern VS Hierarchyid
I am reading the SQL server 2008 bible and it says the materi开发者_StackOverflow中文版alized path pattern is significantly faster then the hierarchyid. Is this really true? How can I make the hierarc[详细]
2022-12-27 17:03 分类:问答SqlMetal, Sql Server 2008 database, Table with HierachyID, dal cs file is created sometimes?
I have 2 databases with a 2 tables with HierachyID fields. For one database I can get a dal cs file, for the other database I cannot get a dal cs file ?[详细]
2022-12-26 08:19 分类:问答