Tuesday, November 20, 2007 7:02 PM
Bob Beauchemin's Blog
SQL Server 2008 XML: Let there be 'let'
SQL Server 2008 adds support for the 'let' clause in FLWOR expressions. The for and let clauses have a similar purpose, to bind content (tuples) to variables. Either one can begin a FLWOR expression: declare @x xml = ''; select @x.query(' for $i in (1,2,3)
Read More...