Solved

Process - Night Run (MSSQLServer)

Posted on 1998-08-02
1
226 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month5 days, 17 hours left to enroll

626 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