Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
one table has experied date and status is Available.. can i use trigger campare that expaired date with today and the date is below today date and status will update unavailable.how to write trigger like this case

What I have tried:

i m not tried till now. im searching this query
Posted
Updated 18-Dec-16 22:42pm

1 solution

You could try using the SQL Agent to do a job that runs periodically to do these things

SQL Server Agent[^]
 
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