Unix Technical Forum

Schedule a Query

This is a discussion on Schedule a Query within the SQL Server forums, part of the Microsoft SQL Server category; --> I need to run a rather large query and want to schedule it to run this evening. Is there ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2008, 06:46 PM
scadreau@gmail.com
 
Posts: n/a
Default Schedule a Query

I need to run a rather large query and want to schedule it to run this
evening. Is there a way to do that in sql server? (2005)

Thanks,

Scott
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-14-2008, 06:46 PM
Hugo Kornelis
 
Posts: n/a
Default Re: Schedule a Query

On Wed, 9 Jul 2008 12:42:14 -0700 (PDT), scadreau@gmail.com wrote:

>I need to run a rather large query and want to schedule it to run this
>evening. Is there a way to do that in sql server? (2005)


Hi Scott,

You can use SQL Agent for this. Or you can write a Windows command
(.cmd) file to call osql.exe and execute the query and use windows
scheduler.

--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com