Salesforce Driver : Data Types

Data Types
The following table lists the data types supported by the Salesforce driver, the Salesforce data types exposed by the Salesforce Web Service API that map to the data types, and the JDBC data types that map to the data types.
 
ANYTYPE1
CURRENCY
Formula (CURRENCY)
DATE
Formula (DATE)
DATETIME
Formula (DATETIME)
INT 2
NUMBER3
PERCENT
Formula (PERCENT)
TEXT
Formula (TEXT)
TEXTAREA4
VARCHAR or LONGVARCHAR

1
You cannot create columns with this data type using the Create Table and AlterTable statements.

2
If the NumberFieldMapping key of the ConfigOptions property is set to emulateInteger, this data type maps to INTEGER. If set to alwaysDouble, this data type maps to DOUBLE.

3
If scale = 0 and precision <= 9 and the NumberFieldMapping key of the ConfigOptions property is set to emulateInteger, this data type maps to INTEGER. If scale does not = 0, precision > 9, or the NumberFieldMapping key of the ConfigOptions property is set to alwaysDouble, this data type maps to DOUBLE.

4
For searchable columns, this data type maps to VARCHAR. For non-searchable columns, it maps to LONGVARCHAR.


© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.