Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default SQL for EMPTY records

I am trying to open a recordset using the following SQL
statement:

"SELECT * FROM MyTable WHERE MyDate = ''"

I want all the records that don't have a valid date...in
the database, there is either a date value or "N/A" to
indicate that there is presently no date.

Under normal conditions (i.e., selecting all the records
in MyTable), all the records in the MyDate field that
have "N/A" values are returned as empty strings.

What is the proper SQL syntax for getting all the non-
date values in the MyDate field?

Thanks,

Seth
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
Extra/empty records in CSV file Jessica G Excel Discussion (Misc queries) 2 June 21st 06 02:15 AM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM


All times are GMT +1. The time now is 06:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"