Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 sql server - XML

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-05-02 : 10:18:45
jagat writes "Is possible to retrieve records as an xml document having user defined tags from sql server 2000 database?

(
I have tried it using the FOR XML EXPLICIT feature but i faced the following problems?
1. if the table contain lot many records then the xml document does not return all the value?
2. It is applied for only one element ?
3. It nevers return a Root tag ?
)"

Nazim
A custom title

1408 Posts

Posted - 2002-05-02 : 10:34:06
Check this link http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=9336 , Rob has come up with a pretty nice way of doing exactly what you are looking for

--------------------------------------------------------------
Go to Top of Page
   

- Advertisement -