How to change a database field with date?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shimmerchopra
    New Member
    • Jan 2011
    • 1

    #1

    How to change a database field with date?

    I have to change one table value with the date.If the date is passed away then lets say it would contain inactive else active.
    And the problem is that I have to do it automatically in my project.Not on any action.
    can anyone help me????
    Thanks in advance.
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    Have you taken a look at triggers for mysql?

    Comment

    Working...