Previous Topic: Inline Code Statements with ODBC/JDBC/ADO.NETNext Topic: Construct the ODBC/JDBC Statements


Declare Variables

The following are the types of variables:

Follow these steps:

Gen Data Type

Native Data Type

TEXT

static UCHAR FAR[]

NUMBER

(with precision enabled)

static UCHAR FAR[]

DATE

static DATE_STRUCT

TIME

static TIMESTAMP_STRUCT

TIMESTAMP

static TIMESTAMP_STRUCT

BLOB

<none>

Gen Data Type

Native Data Type

TEXT

string

NUMBER

short

int

double

NUMBER

(with precision enabled)

decimal

DATE

DateTime

TIME

DateTime

TIMESTAMP

DateTime

BLOB

byte[]

Gen Data Type

Native Data Type

TEXT

String

NUMBER

short

int

double

NUMBER (with precision enabled)

BigDecimal

DATE

java.sql.Date

TIME

java.sql.Time

TIMESTAMP

java.sql.Timestamp

BLOB

byte[]