G
Guest
I have an app to access Oracle database from Access mdb file.
It looks that Oracle has it date format.
I have folowing SQL code:
"SELECT * FROM MyTable
WHERE MyField = to_date('07/18/2005', 'mm/dd/yyy')"
It works, I wnated to use date() instaed of hardcode date.
I tried the following:
"SELECT * FROM MyTable
WHERE MyField = to_date(format(now(), "mm/dd/yyy"), 'mm/dd/yyy')"
It does not work.
Are there any way to convert a Oracle date format from date() function in
Access?
Any informaiton is great appreciated,
It looks that Oracle has it date format.
I have folowing SQL code:
"SELECT * FROM MyTable
WHERE MyField = to_date('07/18/2005', 'mm/dd/yyy')"
It works, I wnated to use date() instaed of hardcode date.
I tried the following:
"SELECT * FROM MyTable
WHERE MyField = to_date(format(now(), "mm/dd/yyy"), 'mm/dd/yyy')"
It does not work.
Are there any way to convert a Oracle date format from date() function in
Access?
Any informaiton is great appreciated,