Click here to Skip to main content
15,905,414 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to execute trigger on specific time. please tell how to do this.
Posted

 
Share this answer
 
Comments
Abhilask kumar 9-Jan-14 1:52am    
can you provide your mail id.
harem hasan 29-Apr-24 4:22am    
please if you can't say how to it so you should be shut up
Triggers have no connection with Periodical Executions.
Msdn says:
A trigger is a special kind of stored procedure that automatically executes when an event occurs in the database server.DML triggers execute when a user tries to modify data through a data manipulation language (DML) event. DML events are INSERT, UPDATE, or DELETE statements on a table or view. These triggers fire when any valid event is fired, regardless of whether or not any table rows are affected.

Note that:when an event occurs in the database server

You have to raise an event either manually or automatically.Without particular Event occurance Trigger cannot work.
Periodical executions are different from these things.It Executes at given time Once it is scheduled there is no need to call,raise anything until schedules get completed.

Use
Job Scheduling in sqlserver to call Trigger
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900