|
Question : select query
|
|
Hi, quick question.
I'm making a select query on a table. 1 of the columns is date. I want to do 2 queries, 1 which shows all the records where the field date has a date and the other where it shows all the records which don't have a date.
For the "DATE" in critera of query design I'm typing ">0" and this works fine.
For the "No Date" Im typing "<0" this brings up no records?
Any ideas please?
|
|
Answer : select query
|
|
select * from Tablename where [datefield] is not null
select * from Tablename where [datefield] is null
|
|
|
|