简体   繁体   中英

SQL Server 2005 XML Capabilities and backward compatibility

I use SQL Server 2005 with compatibility level 80 . If I don't set compatibility level then some modules of ASP.NET Web Application don't work because application was originally written with SQL Server 2000 .

Now If I write a stored procedure that uses xml variable with functions node and values which I believe is SQL Server 2005 specific feature and does not exist in SQL Server 2000 would this be a problem?

The XML data type will work just fine even with compatibility level 80.

There are some differences in behaviour when you use for xml to construct XML.

ALTER DATABASE Compatibility Level (Transact-SQL)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM