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: ***@microsoft.com.
===========================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/aa948874.aspx
============================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================