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.
Author |
Topic |
Steve2106
Posting Yak Master
183 Posts |
Posted - 2008-12-04 : 15:36:45
|
Hi Guys,How do I create a stored procedure using the following:sp_makewebtask @templatefile = 'C:\Inetpub\wwwroot\Matsys\NewTicker.tpl',@query = 'SELECT * FROM tbNewsTicker where Enabled = 1 FOR XML AUTO', @outputfile='C:\Inetpub\wwwroot\Matsys\NewTicker.xml'I am using it to create a news ticker and I can get it to work in Query Analyser. When I try to create a Stored Procedure I get an error at the @templatefile. I have tried moving the @ stuff around but I get an error on whichever @ variable thats on top.Thanks for your help,Steve.Steve |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-12-04 : 15:39:45
|
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=74547 |
 |
|
|
|
|