Column Upoloading Issue?
Posted: Sat 03 Apr 2010 22:14
WE are uploading a SQL table to an on-line mysql table and both contain common column BOTH_DESC. The local column in Boolean
and five rows have a value of TRUE. The put column.... statemewnt in Delphi is Sender.putcolumndata('BOTH_DESC', indx,GetBoolean('BOTH_DESC'));
The column in our mysql file was entered as BOOL, but the server changed it to tinyint[1]. The five rows have a value of -1 in the on-line data base. and then a mysql command if(BOTH_DESC=1) is executed,
the test faols.
Why does the mysQL table have -1 as opposed to the expected 1`
Thanks
George
and five rows have a value of TRUE. The put column.... statemewnt in Delphi is Sender.putcolumndata('BOTH_DESC', indx,GetBoolean('BOTH_DESC'));
The column in our mysql file was entered as BOOL, but the server changed it to tinyint[1]. The five rows have a value of -1 in the on-line data base. and then a mysql command if(BOTH_DESC=1) is executed,
the test faols.
Why does the mysQL table have -1 as opposed to the expected 1`
Thanks
George