Solved

schedule

Posted on 2008-10-22
1
387 Views
Last Modified: 2013-11-05
Is there any schedule job (i.e. execute some some SQL statement on a specific time) on SQL Server 2008 Express ?
0
Comment
Question by:andrewyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
Mark Wills earned 125 total points
ID: 22783501
Not the SQL agent is a service and not part of Express. But you can write your SQL code and use the command line routine OSQL to run up your sql statements. Those batch jobs can be scheduled using Windows task scheduler...

Check the osql command line in Books On Line : http://msdn.microsoft.com/en-us/library/ms162806.aspx

There is also the sqlcmd version which is meant to be the latest and greates, but found osql to be more like a "query window" on disk, meaning,  create your queries intereactively, then save it to disk as a script file then use OSQL to run that script file. Put that osql command line in a windows batch (or command) and then schedule the batch job...
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question