example: A table with a value and date time.
Code: Select all
+-------+-------------------------+
| value | timelog |
+-------+-------------------------+
| a | 2013-01-18 14:42:30 |
+-------+-------------------------+
Code: Select all
let>str=Driver={MySQL ODBC 5.1 Driver};Server=[server_ip];Database=[database];Uid=[user_id];Pwd=[password];
DBConnect>str,DB1
let>cmd=Select * from example where value ='a';
DBQuery>DB1,%cmd%,av,nr,mf;
mdl>%av_1_1%:%av_1_2%
Which is wrong, I want "a:2013-01-18 14:42:30"
Hopefully there is a simple setting somewhere that doesn't require modification to the host OS. The only other way I can see this being done is by separating the output and putting it back together in a different order.