Chapter 5 Moving Data In And Out Of Databases; Import And Export Overview; Import And Export Methods - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

C H A P T E R
5
About this chapter

Import and export overview

Import and export methods

Moving Data In and Out of
Databases
This chapter describes several methods of moving data into and out of
your database, and explains when you should use each of them. It also
discusses conversion issues for data inserted from other types of
databases.
Adaptive Server IQ lets you import data from flat files, or directly from
database tables. You can also enter specified values directly into the
database. Export of data to other formats, such as spreadsheet program
formats, is available from the DBISQL utility.
An Adaptive Server IQ table is a logical table; it does not contain data. All
the information needed to resolve queries, including data, is contained in
the Adaptive Server IQ indexes. When you insert data into the columns in
an IQ table, you are not actually adding data to the columns in the table,
but rather to the column indexes. You build indexes by inserting data on a
table-by-table basis.
Adaptive Server IQ offers you a choice of methods for adding, changing,
or deleting data.
For efficient bulk loading of tables from flat files, use the SQL
statement
LOAD TABLE
To insert specified values into a table row by row, use the SQL
statement
with the
INSERT
To insert rows selected from a database, use the SQL statement
with a
INSERT
SELECT
.
option.
VALUES
statement clause.
171

Advertisement

Table of Contents
loading

Table of Contents