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)
是否可以向此列插入空值或者是否有任何替代方法来执行此操作?
好的让我试试这个... –