on 05-15-2013 3:57 PM
I've run into an issue after upgrading our back end MySQL server from 5.0.24a to 5.6.10 (massive leap, I know). When CR replaces a {?date} parameter in an SQL command it sends {d '2013-01-02'} to the server. When the date is submitted in that format the results returned from the query are usually partial. If I run the SQL command with the date hard-coded in, the results are complete. If I change the parameter type from date to string, the results are correct.
The setup was CR9 on Windows 2003, MySQL ODBC Driver 3.5, and MySQL 5.0.24a on Linux. After the DB upgrade when the problem first cropped up I upgraded to CR 2011 and MySQL ODBC Driver 5.2. Since the problem persisted despite the version I narrowed it down to the parameter issue I mentioned.
Is anyone aware of a setting in MySQL which would allow the {d 'YYYY-MM-DD'} format to work like it used to, or an option in CR so that the parameter being passed is ONLY the date, minus the braces and other stuff?
Thanks,
--SJ
Hi SJ,
I think, this is due to the driver issue. Could you test this with Datadirect driver for MySQL?
Driver are here
-Prathamesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.