Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Location
    OFR, PT
    Posts
    16

    Unanswered: Querying empty date fields

    Hi,

    Anybody knows how to query a table in wich I want the rows with the empty date field?

    Any help would be appreciated.

    Regards,
    Miguel

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1

    Re: Querying empty date fields

    Originally posted by msantos
    Hi,

    Anybody knows how to query a table in wich I want the rows with the empty date field?

    Any help would be appreciated.

    Regards,
    Miguel
    select * from mytable
    where date_col is null;

  3. #3
    Join Date
    Jul 2003
    Location
    OFR, PT
    Posts
    16

    Re: Querying empty date fields

    Originally posted by andrewst
    select * from mytable
    where date_col is null;
    That was it.

    Thanks again, Tony

    Regards,
    Miguel

Posting Permissions

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