Results 1 to 2 of 2

Thread: SQL syntax help needed [RESOLVED]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Posts
    113

    SQL syntax help needed [RESOLVED]

    SELECT *
    FROM Allocate
    WHERE (DEL_STATUS <> 'D') AND SHIP_DATE < Now


    I am having trouble with the date portion of this SQL statement. After I run the sql statement the result set contains rows with ship dates that are greater than the current date. I only want rows with expired ship dates to display.

    Can anyone see what I am doing wrong ?

    Thanks... a bunch !!


    [RESOLVED]
    My system date was set wrong.... Geeze do I feel really stupid now....
    Last edited by kerv21; Feb 3rd, 2003 at 03:30 PM.

  2. #2
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Maybe "GetDate" intstead.
    Please rate my post.

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