automating running a stored procedure - sqlserver-dts
This is a discussion on automating running a stored procedure - sqlserver-dts ; I'm using SQL Server 2005, and need to automate running a stored procedure once a day. Used to use DTS package to do that, but that is not in version 2005. Can you please tell me what the most straightforward ...
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| once a day. Used to use DTS package to do that, but that is not in version 2005. Can you please tell me what the most straightforward way to do this is? Thanks. |
|
#2
| |||
| |||
|
SQL Server Agent is what you need. DTS or SSIS have no inherent capabilities to start themselves up. They both rely on SQL Agent for scheduling. -- Todd C "Gerhard" wrote: > I'm using SQL Server 2005, and need to automate running a stored procedure > once a day. Used to use DTS package to do that, but that is not in version > 2005. Can you please tell me what the most straightforward way to do this > is? Thanks. |
|
#3
| |||
| |||
|
Hi Gerthard, Thank you for using Microsoft MSDN Managed Newsgroup. My name is Mark Han. I am glad to work with you on this issue. Based on the description, I understand that you would like to run a stored prodedure once a day. If I have misunderstood, please let me know. That will help us resolve the issue quickly. In order to address your concern, I would like to explain the following. 1 If the edition of the SQL Server is not express, it is suggested to create a job to run the stored procedure. For your convenient, I list the detail steps here. a create a job(sp_add_job) There is an article to share with you:http://msdn.microsoft.com/en-us/library/ms182079.aspx. b add a job step(sp_add_jobstep) There is an article to share with you: http://msdn.microsoft.com/enus/library/ms187358.aspx Note, it is supported to use Management Studio to create a job with step also. and to run a job, we need to start SQL Agent service. 2 If you use SQL Server express edition, since the SQL Agent Service is not available on the edition, we need to create a windows schedule task and run the stored procedure. There is an article to share with you: http://support.microsoft.com/kb/308569 If there is anything unclear, please let me know. Best regards, Mark Han Microsoft Online Community Support ================================================== ========= Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@microsoft.com. ================================================== ========= Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications. Note: MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 2 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/en-us/subs.../aa948874.aspx ================================================== ========== This posting is provided "AS IS" with no warranties, and confers no rights. ================================================== ======= |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
All times are GMT -4. The time now is 12:09 AM.




Linear Mode