New XML Features in Yukon - they rock

Published Fri, Jul 30 2004 17:07 | William

Well I guess I”m going to show my database nerdness again, but I just read Sushil  piece on the XML integration in Yukon.  Right now I'm waiting for Yukon Beta to install on my Virtual Machine ( from the looks of stuff - you have to get rid of Everything pre Yukon beta to install it - total  props to Virtual machine for saving the day) so I can try it out, but passing in a new XML type to a query, mixed in with old school Sql is just totally f-ing cool. From the looks of things, Sushil is definitely going to have some cool stuff blogged in the near future.

Filed under:

Comments

# William said on November 9, 2004 1:37 AM:

New FOR XML Features in Yukon

Nesting FOR XML Expressions may allow us to use AUTO instead of EXPLICIT on many way we couldn't before. That will be a real timesaver for me, generating EXPLICIT is NOT FUN, even with tools like FOAM.

PATH Mode looks like it will handle alot of the other reasons we were forced to to use the EXPLICIT syntax.

The new XML Datatype is something I look forward to using. Specifically I am hoping that I can use it with triggers, I maintain an audit trail for any data changes and am handwriting an XML record to do this on a per table basis, the new Datatype may make this easier. Another option might be the new Assigning FOR XML Results syntax.

I use FOR XML almost exclusively for retrieving data from SQL now, this is going to be a terrific enhancement for me. Hopefully there will be some type of Explicit designer tool for those complex hierarchies that still can't be achieved with the new enhancements. As my applications move more toward SOA style architectures returning XML data directly from SQL Server takes alot of the drudge work out of creating retrieve code.

Search

This Blog

Tags

Community

Archives

News

My other sites

Cool Stuff

Book Stuff

Security

ORM

Data Access

Funny Stuff

Compact Framework Stuff

Web Casts

My KnowledgeBase Articles

My MVP Profile

Design Patterns

Performance

Debugging

Remoting

My Fellow Authors

My Books

LINQ

Misc

Speech

Syndication

Email Notifications