Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009

    Unanswered: perform action when date field = current date

    I have a table that contains a field with several dates, when one of those dates comes about i would like the database to perform a simple operation (changing a value in a different table).

    I was just wondering what the best method of doing this would be, i think it might be possible to do with rules, but am pretty bad with them so any insight would be much appreciated thx :

  2. #2
    Join Date
    Nov 2003
    Provided Answers: 23
    What exactly do you mean with "comes about"? Do you mean when a row is inserted or the column is updated?

    In that case you'll need a trigger that compares the new values to the current_date and then does whatever is necessary.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts