Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Data Wizard -Search Criterea

edited October 2003 in End User
When searching on a date filed how can I, for example, use current_date
minus 3 months.

Ken

Comments

  • edited October 2003
    Hi Ken,

    Depending on which database server you are using, you may be able to use the
    ADD_MONTHS() built in method. I know for sure this method is available in
    SQL Server and Oracle. You may need to check your current database's help
    file to see if this is supported. Something like the following...

    SELECT ADD_MONTHS(HireDate, -3) FROM Employees

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Thanks, I will try this.

    Ken

This discussion has been closed.