Results 1 to 4 of 4

Thread: [SOLVE]I need a SQL command, how to use date minus with system date know its last..

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    445

    [SOLVE]I need a SQL command, how to use date minus with system date know its last..

    I need a SQL command, how to use date minus with system date know its last 3 day?

    how to minus the date to know still have how many day left, but minimum but have 3day.... compare to system date...??

    Code:
    SELECT ProductNo, Gendate from ProductInfo 
    WHERE Gendate - date() = 3
    GROUP BY ProductNo, Gendate
    Last edited by wenight; Nov 5th, 2007 at 03:26 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width