Solved

Process - Night Run (MSSQLServer)

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

777 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