SQL Clone
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
SSC-Addicted
SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)

Group: General Forum Members
Points: 438 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 (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 176
Thanks for this article... Is going to come very handy for me in the future.
AndreQ1
AndreQ1
SSC Veteran
SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)SSC Veteran (246 reputation)

Group: General Forum Members
Points: 246 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
SSC-Addicted
SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)SSC-Addicted (438 reputation)

Group: General Forum Members
Points: 438 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
SSC Journeyman
SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)SSC Journeyman (77 reputation)

Group: General Forum Members
Points: 77 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
Old Hand
Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)

Group: General Forum Members
Points: 349 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