KenCunningham
Technical User
Good morning (or whatever it is where you are!),
I've been struggling to understand how I can select records from a table, where the records are defined by date, held in c09_date_input in date format. A basic query such as:
select c09_date_input
from t09_memos
where c09_date_input > '01-JAN-90'
and c09_date_input < '31-OCT-96'
retrieves no records, as does:
select c09_date_input
from t09_memos
where c09_date_input between '01-JAN-90' and '31-OCT-96'
I'm baffled. I've searched the forum with what I think are sensible keywords, but can't find anything that might help. It could be that my knowledge of dates and SQL is somewhat faulty, but I'd be grateful if someone could explain what might be happening (or not happening as is more likely the case). Many thanks.
I've been struggling to understand how I can select records from a table, where the records are defined by date, held in c09_date_input in date format. A basic query such as:
select c09_date_input
from t09_memos
where c09_date_input > '01-JAN-90'
and c09_date_input < '31-OCT-96'
retrieves no records, as does:
select c09_date_input
from t09_memos
where c09_date_input between '01-JAN-90' and '31-OCT-96'
I'm baffled. I've searched the forum with what I think are sensible keywords, but can't find anything that might help. It could be that my knowledge of dates and SQL is somewhat faulty, but I'd be grateful if someone could explain what might be happening (or not happening as is more likely the case). Many thanks.