When writing data to the database the following SQL datatypes are supported.
SQL: CHAR, VARCHAR
Prolog: atom or code list
SQL: BIT
Prolog: integer
1
.
SQL: SMALLINT
Prolog: integer
SQL: INTEGER
Prolog: integer
SQL: REAL
Prolog: float
SQL: DOUBLE, FLOAT
Prolog: float
SQL: DATE
Prolog: date(Year, Month, Day)
SQL: TIME
Prolog: time(Hour, Minute, Second)
SQL: TIMESTAMP
Prolog: timestamp(Year, Month, Day, Hour, Minute, Second, Fraction)
SQL: LONG
Prolog: integer