Using SQL Server 2008 Geography types with nHibernate's CreateSQLQuery

后端 未结 4 1206
春和景丽
春和景丽 2021-01-01 06:54

I am trying to issue a SQL update statement with nHibernate (2.0.1GA) like this:

sqlstring = string.Format(\"set nocount on;update myusers set geo=geography:         


        
4条回答
  •  萌比男神i
    2021-01-01 07:48

    "{whatever} is not a recognized built-in function name" is a SQL Server error message, not sure what Hibernate is doing there but SQL Server is the one complaining about it.

提交回复
热议问题