I'm trying to pull usage out of a mysql db, but it doesn't like the format yyyy/mm/dd that OG gives for the last date the import ran. So...I'm trying this date_format('<ATD> <ATT>', '%y-%m-%d %H:%i:%S') Which works great when testing against the database like this date_format('2004/10/12 0:00:00', '%y-%m-%d %H:%i:%S') But doesn't work when run through OG. Any ideas?
Yes, it's against the exact same database. If I run it outside of OG, it works great, but if I run it inside OG it doesn't work. I checked the java companion log and it shows the query it ran as being date_format('2004/10/1 0:00:00', '%y-%m-%d %H:%i:%S') which works outside of OG, so I'm not sure why it's not working inside OG. Wait, I just found an extraneous single quote in the filemaker version and whala, it works. Now I feel a bit sheepish. Thanks for your help.