|
[
Permalink
| « Hide
]
Gregori Arjona added a comment - 24/Nov/11 06:29 PM
ODBC trace
Give me ODBC trace for query
"SELECT CAST(SUM(QUANTITY1) AS INTEGER) AS Q1,CAST(SUM(QUANTITY2) AS INTEGER) AS Q2,SUM(QUANTITY3) AS Q3,SUM(QUANTITY4) AS Q4 FROM TEST" too. How execute SQL scripts in VF? I have downloaded VF 8 but I can't understand how to reproduce this problem... New ODBC trace doing cast in calculated fields
VisualFoxpro 8 sample code
The type of sum(INTEGER field) is BIGINT In Firebird. VF8 doesn't support BIGINT (for ODBC: SQL_BIGINT) type and it returns this type as string .
You can add BIGINT field and check type without aggregates. Thanks for the info Alexander.
Easysoft ODBC driver and also the mysql driver can adjust the precision for agregated fields, it would be possible to add this option in the ODBC driver for Firebird? Tanks in advance. I don't understand what you want. Give an example please.
In mysql odbc controller there is an option called FLAG_NO_BIGINT , this changes BIGINT columns to INT columns because some applications can't handle BIGINT.
http://dev.mysql.com/doc/refman/5.0/en/connector-odbc-configuration-connection-parameters.html Thanks, and sorry for my bad english. FLAG_NO_BIGINT is not for following release.
|