| Mimer SQL type |
SQL type description |
Recommended input (C++ or Qt data type) |
| SMALLINT |
16-bit signed integer |
typedef qint16 |
| INTEGER |
32-bit signed integer |
typedef qint32 |
| INTEGER(n) |
Integer with up to 45 digits precision |
Mapped to QString
|
| BIGINT |
64-bit signed integer |
typedef qint64 |
| REAL |
32-bit Single-precision IEEE floating point |
typedef float |
| DOUBLE PRECISION |
64-bit Double-precision IEEE floating point |
Mapped to QString for high precision doubles, otherwise qreal
|
| FLOAT |
64-bit Double-precision IEEE floating point |
Mapped to QString for high precision doubles, otherwise qreal
|
| FLOAT(n) |
Floating point with up to 45 digits precision |
Mapped to QString
|
| DECIMAL(p,s) |
Decimal with up to 45 digits precision and scale |
Mapped to QString
|
| CHAR |
Fixed-length character Latin-1 string (CHAR or character) |
Mapped to QString
|
| VARCHAR |
Variable length Latin-1 string (VARCHAR or CHARACTER VARYING) |
Mapped to QString
|
| NCHAR |
Fixed-length Unicode string (NCHAR or NATIONAL CHARACTER) |
Mapped to QString
|
| NVARCHAR |
Variable length Unicode string (NVARCHAR or NATIONAL CHARACTER VARYING) |
Mapped to QString
|
| BINARY |
Fixed length binary data |
Mapped to QByteArray
|
| VARBINARY |
Variable length binary data (VARBINARY or BINARY VARYING) |
Mapped to QByteArray
|
| BLOB |
Binary large object (BLOB or BINARY LARGE OBJECT) |
Mapped to QByteArray
|
| CLOB |
Latin-1 character large object (CLOB or CHARACTER LARGE OBJECT) |
Mapped to QString
|
| NCLOB |
Unicode character large object (NCLOB or NATIONAL CHARACTER LARGE OBJECT) |
Mapped to QString
|
| DATE |
Date consisting of year, month, and day |
Mapped to QDate
|
| TIME |
Time consisting of hours, minute, seconds with optional fractional seconds |
Mapped to QTime
|
| TIMESTAMP |
Date and time with optional fractional seconds |
Mapped to QDateTime
|
| BUILTIN.UUID |
Universally unique identifier |
Mapped to QUuid
|
| BOOLEAN |
Boolean |
bool |
| INTERVAL YEAR(7) |
Year, format '±yyyyyyy' (max precision) |
Mapped to QString
|
| INTERVAL YEAR(7) TO MONTH |
Year to month, format '±yyyyyyy-mm' (max precision) |
Mapped to QString
|
| INTERVAL MONTH(7) |
Month, format '±mmmmmmm' (max precision) |
Mapped to QString
|
| INTERVAL DAY(7) |
Day, format '±ddddddd' (max precision) |
Mapped to QString
|
| INTERVAL DAY(7) TO HOUR |
Day to hour, format '±ddddddd hh' (max precision) |
Mapped to QString
|
| INTERVAL DAY(7) TO MINUTE |
Day to minute, format '±ddddddd hh:mm' (max precision) |
Mapped to QString
|
| INTERVAL DAY(7) TO SECOND(9) |
Day to second, format '±ddddddd hh:mm:ss[.fffffffff]' (max precision) |
Mapped to QString
|
| INTERVAL HOUR(8) |
Hour, format '±hhhhhhhh' (max precision) |
Mapped to QString
|
| INTERVAL HOUR(8) TO MINUTE |
Hour to minute, format '±hhhhhhhh:mm' (max precision) |
Mapped to QString
|
| INTERVAL HOUR(8) TO SECOND(9) |
Hour to second, format '±hhhhhhhh:mm:ss[.fffffffff]' (max precision) |
Mapped to QString
|
| INTERVAL MINUTE(10) |
Minute, format '±mmmmmmmmmm' (max precision) |
Mapped to QString
|
| INTERVAL MINUTE(10) TO SECOND(9) |
Minute to second, format '±mmmmmmmmmm:ss[.fffffffff]' (max precision) |
Mapped to QString
|
| INTERVAL SECOND(12,9) |
Second, format '±ssssssssssss[.fffffffff]' (max precision) |
Mapped to QString
|