Solved

Process - Night Run (MSSQLServer)

Posted on 1998-08-02
1
224 Views
Last Modified: 2010-05-03
I want to populate/update a large table at night. I want to know the code structure or MSSQL features to be used for this. I am having a stored procedure for this purpose which is to be run at midnight.

Do we have any timer kind of facility which can trigger the run of stored procedure.

I would like to see some sample code lines.
Thanks.
0
Comment
Question by:rolee
[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
 

Accepted Solution

by:
kilobugs earned 50 total points
ID: 1467503
Go to MS SQL Enterprise Manager;
go to Server;
go to Scheduled Tasks .... ;
New Task;

Then you give a name, choose a type for the task ( if you want to execute a SP, you should select TSQL), choose database.
If you have already had a SP written, then, type:
"exec my_sp" in the command text edit box

Choose Recurring if you want the task to be executed from time to time.
You should have asked this question in MS-SQL section. That way you can get a faster reponse!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

751 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