dbTalk Databases Forums  

automating running a stored procedure

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss automating running a stored procedure in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gerhard
 
Posts: n/a

Default automating running a stored procedure - 11-13-2008 , 02:47 PM






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.

Reply With Quote
  #2  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM






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:

Quote:
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.

Reply With Quote
  #3  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #4  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #5  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #6  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #7  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #8  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #9  
Old   
Todd C
 
Posts: n/a

Default RE: automating running a stored procedure - 11-13-2008 , 02:59 PM



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:

Quote:
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.

Reply With Quote
  #10  
Old   
Mark Han[MSFT]
 
Posts: n/a

Default RE: automating running a stored procedure - 11-14-2008 , 01:13 AM



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 (AT) microsoft (DOT) 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.
================================================== =======


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.