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 2005 Forums
 Transact-SQL (2005)
 Export to XML

Author  Topic 

karthickbabu
Posting Yak Master

151 Posts

Posted - 2008-11-22 : 06:13:50

How can we export a table, stored procedures, function, views, database as XML Files?

Is this possible.

====================================================
you realize you've made a mistake, take immediate steps to correct it.

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2008-11-22 : 16:24:08
do you mean if you haved a table and you would like to create a file called table.xml ?
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-11-23 : 08:02:36
Yes it is possible.
Settle for a proper schema and export from syscomment. Just beware that syscomment only holds the first 4000 characters of the procedure.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

karthickbabu
Posting Yak Master

151 Posts

Posted - 2008-11-24 : 00:03:39

Yes, I need like these only.

Any article link or url regarding this.

====================================================
you realize you've made a mistake, take immediate steps to correct it.
Go to Top of Page
   

- Advertisement -