XML Path returns multiple children instead of one
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 20 articles for 0.013 sec
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: Peter W. DeBetta
Date: Sep 20, 2006 21:39

...that doesn't mean FOR XML PATH doesn't work. FOR...Profile.ProfileID = Profile_EmailAddress.ProfileID FOR XML PATH(''), TYPE) AS [EmailAddress] FROM...simple, stripped down, example. An XML document in the real world...C736-DB11-BFF0-000FFE41B09F' FOR XML AUTO, ROOT('TravelerProfiles'), ELEMENTS RESULTS...returning multiple XML records instead of one record with multiple children...
Show full article (8.41Kb) · Show article thread
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: tempdba
Date: Sep 18, 2006 07:39

... XML in SQL Server without using XML EXPLICIT, just like SQL 2000. ...extrememly simple, stripped down, example. An XML document in the real world is...82F81341-C736-DB11-BFF0-000FFE41B09F' FOR XML AUTO, ROOT('TravelerProfiles'), ELEMENTS RESULTS IN...is returning multiple XML records instead of one record with multiple children ... read all the documentation on XML PATH to no avail. Any ...
Show full article (5.16Kb) · Show article thread
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: Peter W. DeBetta
Date: Sep 15, 2006 15:07

... '82F81341-C736-DB11-BFF0-000FFE41B09F' FOR XML AUTO, ROOT('TravelerProfiles'), ELEMENTS RESULTS IN...... is returning multiple XML records instead of one record with multiple children when a joined table has more ...> </Profile> </Traveler> </TravelerProfiles> But instead it returns one record for each record ...I have read all the documentation on XML PATH to no avail. Any help ...
Show full article (4.54Kb) · Show article thread
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: tempdba
Date: Sep 7, 2006 14:20

... of SQL Server is receiveing and returning very complex XML data. Complex XML ....MasterProfileAttributeGroupID WHERE Person.PersonID = @PersonID FOR XML PATH('TravelerProfile'), ELEMENTS for instance. ...then MS has again missed the XML boat. Either way, thanks for ... the relationships and render the xml correctly? I don't see ... data. In SQL 2000, the XML serialization of the results was ...
Show full article (39.52Kb) · Show article thread
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: tempdba
Date: Sep 7, 2006 05:46

...necessary? Can't the query engine read the relationships and render the xml correctly? I don't see that a subquery is required for that...ON Profile.ProfileID = Profile_EmailAddress.ProfileID WHERE Person.PersonID = '82F81341-C736-DB11-BFF0-000FFE41B09F' FOR XML PATH('TravelerProfiles') Make sense? Thanks, Kent Tegels, DevelopMentor http://staff.develop.com/ktegels/
Show full article (1.08Kb) · Show article thread
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: Kent Tegels
Date: Sep 6, 2006 17:01

... = Profile.ProfileID LEFT OUTER JOIN Profile_EmailAddress ON Profile.ProfileID = Profile_EmailAddress.ProfileID WHERE Person.PersonID = '82F81341-C736-DB11-BFF0-000FFE41B09F' FOR XML PATH('TravelerProfiles') Make sense? Thanks, Kent Tegels, DevelopMentor http://staff.develop.com/ktegels/
Show full article (0.81Kb) · Show article thread
XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: tempdba
Date: Sep 6, 2006 14:40

...that is returning multiple XML records instead of one record with multiple children when a joined table has more than...= '82F81341-C736-DB11-BFF0-000FFE41B09F' FOR XML PATH('TravelerProfiles') It should return ...> </Profile> </Traveler> </TravelerProfiles> But instead it returns one record for each record ... have read all the documentation on XML PATH to no avail. Any help ...
Show full article (2.73Kb)
XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: tempdba
Date: Sep 6, 2006 14:39

...that is returning multiple XML records instead of one record with multiple children when a joined table has more than...= '82F81341-C736-DB11-BFF0-000FFE41B09F' FOR XML PATH('TravelerProfiles') It should return ...> </Profile> </Traveler> </TravelerProfiles> But instead it returns one record for each record ... have read all the documentation on XML PATH to no avail. Any help ...
Show full article (2.73Kb)
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: Kent Tegels
Date: Sep 7, 2006 15:32

....SalesOrderDetail s where s.productID = pp.productID for xml auto,type ) from production.product pp where pp.ProductSubcategoryID = pc.ProductCategoryID for xml auto,type ) from production.productCategory pc for xml auto,type So, sure, its not long as your example, but ... to sub-queries is that you're running multiple queries, it doesn't actually happen. If its ...
Show full article (1.34Kb) · Show article thread
Re: XML Path returns multiple children instead of one record     

Group: microsoft.public.sqlserver.xml · Group Profile · Search for XML Path returns multiple children instead of one in microsoft.public.sqlserver.xml
Author: Kent Tegels
Date: Sep 7, 2006 13:14

... the query engine read the relationships and render the xml correctly? I don't see that a subquery is ... you really want is nested data. In SQL 2000, the XML serialization of the results was done as a step after ... resultset generation as the output is an instance of the XML type (typically). SQL 2005 is able to insert XML instances into another XML instance, so this is how you do it...
Show full article (0.84Kb) · Show article thread
1 · 2 · next