Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 223

Table of Contents

Advertisement

CHAPTER 5
When you insert data selected from another database
When you load data from a flat file
When an explicit conversion is needed, the way that you specify the conversion
depends on whether you are loading from a flat file or inserting selected rows:
In the
LOAD TABLE
format in the column-spec.
In the
statement, you convert data explicitly using the data
INSERT
conversion functions
statement.
For information on implicit and explicit conversions between Adaptive Server
IQ data types, see Table 5–6.
For information on conversions that occur if you are inserting from proxy
tables, see the Adaptive Server IQ Installation and Configuration Guide for
Windows NT.
While most Adaptive Server IQ data types are fully compatible with Adaptive
Server Anywhere and Adaptive Server Enterprise data types of the same name,
there are some differences. For details on compatibility, see "Matching
Adaptive Server Anywhere data types" and ""Matching Adaptive Server
Enterprise data types."
For compatibility among versions, a few data types have been defined as
synonyms of other data types:
is a synonym for
DECIMAL
is a synonym for
INTEGER
is a synonym for
DATETIME
(precision) is a synonym for
FLOAT
value of precision. For Adaptive Server Enterprise,
precision less than or equal to 15, and
15. For Adaptive Server IQ and Adaptive Server Anywhere, the cutoff is
platform-dependent, but on all platforms the cutoff value is greater than
22.
is an Adaptive Server Enterprise-compatible synonym for
MONEY
(19,4), allowing NULL.
NUMERIC
is an Adaptive Server Enterprise-compatible synonym for
SMALLMONEY
(10,4), allowing NULL.
NUMERIC
Moving Data In and Out of Databases
statement, you convert data explicitly by specifying a
,
, and
CAST
CONVERT
.
NUMERIC
.
INT
.
TIMESTAMP
or
REAL
DOUBLE
in the
DATEPART
SELECT
, depending on the
DOUBLE
is used for
REAL
for precision greater than
203

Advertisement

Table of Contents
loading

Table of Contents