In a field called StartDate in one of my DB tables I have dates entered with the following format: 20000128 (year,month and date respectively)...and I want to compare w/ the system date ( #CreateODBCDate(now())# ) which has the following format: {d '2000-11-02'}
I have tried the query below, but it seems like it's not able to compare 20000128 from {d '2000-11-02'}:
select * from Date
where StartDate >= #CreateODBCDate(now())#
My main goal is to be able to ignore dates before the current date and display only the ones after the current date.
Will anyone please help me?
I have tried the query below, but it seems like it's not able to compare 20000128 from {d '2000-11-02'}:
select * from Date
where StartDate >= #CreateODBCDate(now())#
My main goal is to be able to ignore dates before the current date and display only the ones after the current date.
Will anyone please help me?