EMartinez
3/27/2007 2:38:00 AM
On Mar 26, 9:29 pm, "bubbles" <bubbles....@hotmail.com> wrote:
> I could run the SPs from SQL Server Management Studio, but
> unsuccessful in
> setting up a job to run at scheduled time.
>
> I could (and already did) set up a maintanance task to back up the
> databases,
> and they ran as scheduled.
>
> How do I set up a stored procedure to run at a scheduled time?
>
> Thanks,
> Bubbles
>
> On Mar 27, 10:20 am, "EMartinez" <emartinez....@gmail.com> wrote:
>
> > If I understand you correctly, you can either run the stored procedure
> > as a job via the SQL Agent or you can use OSQL to call the stored
> > procedure in a batch file and then use Scheduled Tasks to execute it
> > (Scheduled Tasks are accessible via: Start Menu -> Programs ->
> > Accessories -> System Tools -> Scheduled Tasks). You should be able to
> > navigate to the batch file and in advances setting set up a schedule.
> > Hope this helps.
>
> > Regards,
>
> > Enrique Martinez
> > Sr. Software Consultant
Do you have the appropriate permissions to access and create Jobs?
Enrique Martinez
Sr. Software Consultant