|
Posted by Erland Sommarskog on 10/31/07 23:12
Tony Rogerson (tonyrogerson@torver.net) writes:
>> The kludges that have been posted are unpredictable, unsupported and
>> some are highly proprietary.
>
> Let's make it clear, the use of text() and FOR XML is supported and fully
> documented in books online, it is not a kludge;
Nah, I think text() + FOR XML certainly has the flavour of a kludge over
it. The syntax is anything about intuitive, and if the data include
ampersands or angle brackets, there are a few surprising waiting for us.
It's a lot better than nothing at all, that's for sure.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|