久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Visual Studio 2015 預覽版打破了 SQL Server 層次結構

Visual Studio 2015 Preview breaks SQL Server hierarchyid(Visual Studio 2015 預覽版打破了 SQL Server 層次結構 ID)
本文介紹了Visual Studio 2015 預覽版打破了 SQL Server 層次結構 ID的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

安裝 VS2015 后,SQL Server 無法再為 hierarchyid CLR 類型調用 ToString() 方法 - 對于某些值它有效,對于其他值它會引發以下異常:

After installing VS2015, SQL Server can no longer call ToString() method for hierarchyid CLR type - for some values it works, for others it throws the following exception:

在執行用戶定義的過程中發生 .NET Framework 錯誤常規或聚合層次結構":Microsoft.SqlServer.Types.HierarchyIdException: 24000: SqlHierarchyId操作失敗,因為 HierarchyId 對象是從一個無效的二進制字符串.

A .NET Framework error occurred during execution of user-defined routine or aggregate "hierarchyid": Microsoft.SqlServer.Types.HierarchyIdException: 24000: SqlHierarchyId operation failed because HierarchyId object was constructed from an invalid binary string.

這可以通過運行以下簡單查詢輕松重現:

This is easily reproduced by running the following simple query:

從 HumanResources.Employee 中選擇 OrganizationNode.ToString()

select OrganizationNode.ToString() from HumanResources.Employee

我嘗試卸載 .NET 4.5.3,但沒有幫助.任何已知的解決方法?嘗試將hierarchyid 值轉換為VARCHAR 導致了同樣的錯誤,所以我假設它在幕后調用了ToString().

I tried uninstalling .NET 4.5.3, but it didn't help. Any known workarounds? Trying to CAST the hierarchyid value to VARCHAR resulted with the same error, so I assume it calls ToString() under the hood.

推薦答案

Visual Studio 2015 CTP6 修復了這個問題.

Visual Studio 2015 CTP6 fixes this.

將 CTP5(確實修復了一小段時間)更改為 CTP6,它為我永久修復.

Changed CTP5 (which did fix it for a short while) to CTP6, which fixes it permanently for me.

這篇關于Visual Studio 2015 預覽版打破了 SQL Server 層次結構 ID的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

What SQL Server Datatype Should I Use To Store A Byte[](我應該使用什么 SQL Server 數據類型來存儲字節 [])
Interpreting type codes in sys.objects in SQL Server(解釋 SQL Server 中 sys.objects 中的類型代碼)
Typeorm .loadRelationCountAndMap returns zeros(Typeorm .loadRelationCountAndMap 返回零)
MS SQL: Should ISDATE() Return quot;1quot; when Cannot Cast as Date?(MS SQL:ISDATE() 是否應該返回“1?什么時候不能投射為日期?)
Converting the name of a day to its integer representation(將一天的名稱轉換為其整數表示)
How to convert nvarchar m/d/yy to mm/dd/yyyy in SQL Server?(如何在 SQL Server 中將 nvarchar m/d/yy 轉換為 mm/dd/yyyy?)
主站蜘蛛池模板: 精品视频在线播放 | 亚洲成人精品一区 | 国产精品日产欧美久久久久 | 日韩欧美在线一区二区 | 综合网在线 | 日本精品网站 | 婷婷综合色 | 久久久久亚洲精品国产 | 国产成人精品一区二 | 国产一区二区在线播放 | 久久久精品一区二区三区 | 在线视频一区二区三区 | 国产美女黄色片 | 欧美国产视频 | 色橹橹欧美在线观看视频高清 | 免费v片在线观看 | 国产一级电影在线 | 永久av| 韩国主播午夜大尺度福利 | 国产精品有限公司 | 午夜性色a√在线视频观看9 | 91美女在线| 成人一区av偷拍 | 欧美成年人 | 国产精品99久久久精品免费观看 | 91精品国产欧美一区二区 | 欧美性猛片aaaaaaa做受 | 日韩欧美网 | 四虎永久免费黄色影片 | 精品久久久久久久久久久久久久 | 国产精品无 | 久久精品中文字幕 | 亚洲黄色高清视频 | 午夜精品一区二区三区在线播放 | 亚洲一区精品在线 | 亚洲一区二区三区免费在线观看 | а天堂中文最新一区二区三区 | 国产精品乱码一区二区三区 | 国产成人在线观看免费 | 一区二区三区免费看 | 欧美日韩高清在线一区 |