How can we help?

Search for answers or browse our knowledge base

< All Topics
Print

Recommended field types

For each of the connection types used for the GTServer client database, here are the recommended field types for the tables specified in the launch actions and the integration actions:

Field typeSQL Server 2005SQL Server 2008 to 2014OraclePostgresDB2
Integerintintnumber(10)intinteger
Realfloatfloatbinary_doubledouble precisiondouble
Limited text
(p char.)
nvarchar(p)nvarchar(p)varchar2(p)varchar(p)varchar(p)
Long textnvarchar(max)nvarchar(max)clobtextclob
Date and timedatetimedatetimetimestamptimestamp without time zonetimestamp
Datedatetimedatedatedatedate
Timedatetimetimetimestamptime without time zonetime
Check boxtinyinttinyintnumber(3)smallinttinyint ou int

In the case of SQL Server, the recommended field types depend on the DBMS version AND the type of connection chosen in GTServer.

Boolean or bit fields should generally be avoided as the data storage or driver behaviour is often unsatisfactory.

Non-variable length text fields (char or nchar for most databases) are strongly discouraged (spaces may be added when GTServer extracts the data)

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?
Table of Contents