0
我試圖在包含一列數據類型'''hierarchyid'的表1中插入空值,它向我拋出了下面的錯誤。如何將空值插入SQL Server數據庫中的hierarchyid數據類型?
A .NET Framework error occurred during execution of user-defined routine or aggregate "hierarchyid":
Microsoft.SqlServer.Types.HierarchyIdException: 24001: SqlHierarchyId.Parse failed because the input string 'NULL' is not a valid string representation of a SqlHierarchyId node.
Microsoft.SqlServer.Types.HierarchyIdException: at Microsoft.SqlServer.Types.SqlHierarchyId.Parse(SqlString input)
是否可以向此列插入空值或者是否有任何替代方法來執行此操作?
好的讓我試試這個... –