Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    1

    Unanswered: SQL queries - about date

    Hi there I need some help with a query.
    I've got a system which called Helpdesk system that log user's complaint.
    I need to beable to run a Query to find out if any of the complaint that loged over than 10 days.

    if any one has any ideas PLEASE HELP!
    thanks for advance
    Kind Regards

    Edy

  2. #2
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    SELECT [column_list]
    FROM your_table
    WHERE date_column >= SYSDATE - 10;

  3. #3
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Date arithmetic syntax isn't standardized across database engines. Which database engine do you plan to use?

    -PatP

Posting Permissions

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