Schedule Stored procedure in windows scheduler

Posted on 2007-07-23
Last Modified: 2013-11-14
How to schedule sql stored procedure in the windows scheduler.
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    why do you want to use the windows scheduler, sql server comes with sql agent jobs that can be scheduled very easily...

    Author Comment

    i dont have access to that server, thats y i want to schedule in windows.That server is owned by different group, so im not allowed to created any job schedule and run it.
    I want to know how to write code in .sql file and schedule it in windows scheduler.
    LVL 142

    Accepted Solution

    >i dont have access to that server, thats y i want to schedule in windows
    but you have access to that server's windows scheduler?

    anyhow, check out the sqlcmd command line tool that can connect to sql server and run a .sql file.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
    When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now