Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Returning multiple rows from XML Expand / Collapse
Author
Message
Posted Friday, November 02, 2012 9:12 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, May 21, 2013 1:22 PM
Points: 81, Visits: 680
Are there any books that explain syntax such as $x or //EXPR
?
Post #1380437
Posted Tuesday, November 06, 2012 11:19 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, May 20, 2013 9:04 AM
Points: 1,722, Visits: 1,404
grovelli-262555 (11/2/2012)
Are there any books that explain syntax such as $x or //EXPR
?


Hi grovelli,
$x is a variable within a flwor statement. You can begin to learn about flwor statements here: http://msdn.microsoft.com/en-us/library/ms190945.aspx

//EXPR is a path expression. A starting point again would be BOL here: http://msdn.microsoft.com/en-us/library/ms189919.aspx

With regard to a book regarding XML itself, there are a good couple of good SQL books pretty much dedicated to the XML data type and how to work with it e.g. XQuery, XML DML etc. I don't have a particular one to recommend as it depends on exactly what you want to learn, but the ones by Wrox or Apress are probably good starting points if you want to learn more about SQL XML.
Post #1381669
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse