Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


You Want To Do What, with MY Database?


You Want To Do What, with MY Database?

Author
Message
rscarlson
rscarlson
Valued Member
Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)

Group: General Forum Members
Points: 70 Visits: 6
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/rcarlson/youwanttodowhatwithmydatabase.asp



Pete Ocasio
Pete Ocasio
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 167
Thanks for this article... Is going to come very handy for me in the future.
AndreQ1
AndreQ1
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 1
I like the idea of it, and always love learning about new stored procedures, but chances are good I'd find a different way of getting to the output.
rscarlson
rscarlson
Valued Member
Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)

Group: General Forum Members
Points: 70 Visits: 6

The main idea is to generate an output as a webpage accessible by browser that isolates the sql server from the user. I don't want to rebuild the server and restore the data.

We still generate static web pages like the one shown. We still use the sql report builder, customized front ends and crystal reports.

And we use php, html, xml, asp and/or vbs with iis or apache for dynamic web pages.

Glad you enjoyed the article.





Marta Graham
Marta Graham
Grasshopper
Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)

Group: General Forum Members
Points: 13 Visits: 1

Please advise:

In the following command:

EXECUTE sp_makewebtask @outputfile = 'd:\harvestwise\hwsystem\pickup\PMDRpt.html', @query = 'EXECUTE spMoveSelect @Action=3, @ID=0, @Var1=19', @templatefile = 'd:\harvestwise\hwsystem\pickup\PMDRpt.tpl'

I am getting the errors:

Server: Msg 2812, Level 11, State 1, Line 0
Could not find stored procedure 'spMoveSelect'.
Server: Msg 16805, Level 11, State 1, Procedure sp_makewebtask, Line 125
SQL Web Assistant: Could not execute the SQL statement.

The stored proc is part of a database called YMCA. I'm wondering how to specify this in the exec command. Or is there something else I'm missing

Suggestions would be appreciated!

thanks in advance,

-marta


Dennis D. Allen
Dennis D. Allen
SSC-Enthusiastic
SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)SSC-Enthusiastic (141 reputation)

Group: General Forum Members
Points: 141 Visits: 163
Perhaps you need more naming information for the procedure. The call will make assumptions based on the current server/database that you are connected to, so if the procedure is else where, you need to include that information.

EXEC sp_makewebtask
@outputfile = 'd:\harvestwise\hwsystem\pickup\PMDRpt.html',
@query = 'EXEC [server].[databasse].[owner].spMoveSelect @Action=3, @ID=0, @Var1=19',
@templatefile = 'd:\harvestwise\hwsystem\pickup\PMDRpt.tpl'

Ha... just noticed the date of the post I was replying to, but perhaps this will be helpful to someone else...
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search