Timing a trigger or a procedure to execute In SQL Server 2000

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saiprasanthi
    New Member
    • Oct 2006
    • 7

    Timing a trigger or a procedure to execute In SQL Server 2000

    Hi,

    I need your help regarding how to time a sql procedure or a trigger to get executed ie., I would like to call the procedure or trigger automatically on a pariticular date and time after satisfying the required conditions. I want this to work SQL Server 2000.


    Kindly help me through.

    Regards,

    Prasanthi
  • almaz
    Recognized Expert New Member
    • Dec 2006
    • 168

    #2
    Code:
    WAITFOR TIME '23:00:00'
    exec MyStoredProcedure

    Comment

    • scripto
      New Member
      • Oct 2006
      • 143

      #3
      you might want to look into creating DTS packages, which you schedule as a job to run when ever you like - a lot simpler i think.

      Comment

      • navamnk
        New Member
        • Jan 2007
        • 15

        #4
        Directly you can do this using SQL Jobs

        Comment

        • iburyak
          Recognized Expert Top Contributor
          • Nov 2006
          • 1016

          #5
          See how I describe the same to another person. Just lazy to rewrite everything again... :)

          http://www.thescripts. com/forum/threadnav584597-2-10.html

          Comment

          Working...