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 2008 Forums
 Transact-SQL (2008)
 Replacement of makewebtask

Author  Topic 

Kwazi
Starting Member

1 Post

Posted - 2014-05-06 : 05:49:23
Hi guys,

I need to generate an XML file from an SQL query. In SQL 2005 and SQL 2000 makewebtask stored procedure made this easy to achieve. Is there a similar command or stored procedure in 2008 that I can use to generate an XML file from a query.

Thanks.

Regards,
Kwazi

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2014-05-06 : 07:29:03
You should look into using SSIS with a script task to generate the html or perhaps an SSRS report with HTML output.
Go to Top of Page

Lamprey
Master Smack Fu Yak Hacker

4614 Posts

Posted - 2014-05-06 : 11:52:18
There is a FOR XML clause:
http://technet.microsoft.com/en-us/library/ms178107.aspx


EDIT: Never mind, I missed that you wanted a file generated.
Go to Top of Page
   

- Advertisement -