Page 1 of 1

Request 'Integer' column mapping to TLargeintField in SQLite

Posted: 24.10.2008, 15:34
by Faceker
In SQLite, Integer column is 64 bit integer value, and 'Integer' column is special (see http://www.sqlite.org/datatype3.html), so I suggest mapping 'Integer' column to TLargeintField:

tinyint - TWordField
smallint - TSmallintField
int - TIntegerField
Integer - TLargeintField
bigint - TLargeintField
other int - TIntegerField or TLargeintField

Posted: 01.11.2008, 15:56
by mdaems
But... there's still another documentation page available : http://www.sqlite.org/datatypes.html which limits Integer to 32 bit values.

Have you tried switching the mapping in ConvertSQLiteTypeToSQLType (ZDbcSqliteUtils.pas) ?

Mark