How to convert BIGINT to INTEGER ?
Posted: Fri 01 Feb 2008 08:48
Hi,
I'm some problems (I guess it is MySQL related) :
field1 is an Integer
The case statement is returning a LargeInteger.
Is it possible to convert this LargeInteger into an integer (so that delphi will not raised an exception when the data type will not match the one stored in the persistent field)
I'm some problems (I guess it is MySQL related) :
Table2 is an alias of Table1 (left outer join table1 as tables2....)Case
When Table1.Field1 is null the Table2.Field1 else Table1.Field1
End As Field1
field1 is an Integer
The case statement is returning a LargeInteger.
Is it possible to convert this LargeInteger into an integer (so that delphi will not raised an exception when the data type will not match the one stored in the persistent field)