|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] SQL Server 2005Michael Rys mrys at microsoft.comSun Jan 22 13:41:11 PST 2006
To add to what Kent said. 1) I am not going to evangelize functionality that I do not implement... And it is not my problem if nobody writes about it... 2) No idea. I guess some people use it. However, I know tons of customer that use FOR XML... (although obviously my sample is skewed). And there is quite a bit of interest in server-side XML support in the developer community (My talk about it at the last PDC had 10% of the conference attend). 3) As Kent says, you should use PATH mode in most cases. EXPLICIT mode should only be used under the following circumstances: 1. You already have it running... 2. Sometimes it still executes faster than nested FOR XML PATH but not always. 3. You are a masochist... Best regards Michael > -----Original Message----- > From: Kent Tegels [mailto:http://xquery.com/mailman/listinfo/talk] > Sent: Sunday, January 22, 2006 3:00 AM > To: Ronald Bourret > Cc: Michael Rys; Frank Cohen; http://xquery.com/mailman/listinfo/talk > Subject: Re: SQL Server 2005 > > > 1) Do your customers even know about SQL/XML? Remarkably > little has been > > written about it on the Web or elsewhere. > > On the whole, probably not, but I'm working on that a few students at > a time. We cover this in our SQL Server 2005 classes a bit so that a.) > folks are aware that SQL/XML exists and b.) what MS does is different. > > > 2) Does anybody know how widely SQL/XML functionality is used in the > > databases that do support it (DB2, Oracle, Sybase, and > DataDirect's JDBC > > driver)? I would certainly use it if I had one of those > databases, but > > the few real-world customers I meet still seem to be > writing custom code > > to construct XML > > Last year I gave a number of talks around the US and this was one of > the questions I'd ask. Most of these talks were pretty well attended, > so by that measure, there's a fair amount of interest in the > technology. A good portion of the folks attending did store XML in > tables, but they really weren't doing much at the storage engine level > with that it. I think some folks are starting to want to use XML more > at the engine level, however, so that's where SQL Server's XML type > comes into play. Frankly, there's not much point using that datatype > unless your actually going to use the features like schema-binding, > XQuery and indexing that go with it. > . > > 3) In all fairness, FOR SELECT EXPLICIT is only marginally less ugly > > than SQL/XML, and neither comes close to XQuery, which is > postively fun > > to write. > > There's so little reason to write explicit queries with SQL Server > 2005 anyway. Use FOR XML PATH as a direct and "less code, more > obvious" solution. As to XQuery, I really believe that most SQL Server > 2005 will choose to write XPath expressions first and resort to the > FLWOR syntax when the run into a brick wall. That's probably because > of the folks using the feature today are middleware or client > developers. > > Thank You, > > Kent Tegels > Database Curriculum Lead > Blog: http://staff.develop.com/ktegels > DevelopMentor -- Advanced Training for Professional Software > Developers >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






