English 中文(简体)
2008年8月5日ST/SGB/2007/4号文件的一个条款中使用XML栏
原标题:Using XML column in a where clause in SQL 2008

我有一套储存的程序,其中我需要一个条款,即:

where XMLDataPoint <> NULL  

然而,XMLDataPoint是XML的一栏,我有错误。

"The XML data type cannot be compared or sorted, except when using the IS NULL operator."

我应如何安排我的哪里条款?

最佳回答

<代码>NUL要求使用<编码>IS或s NOT 比较:

<编码> WHERE XMLDataPoint IS NOT NUL

等同业经营人本身并不适用。

问题回答

暂无回答




相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签