Sybase Adaptive Server Anywhere Reference page 161

Table of Contents

Advertisement

Chapter 4 Database Administration Utilities
Use internal unload, external reload (–ix)
This switch uses the
UNLOAD statement to extract data from the database, and uses the
Interactive SQL INPUT statement in the
reload.sql
file to repopulate the
database with data.
Repeated unload of view creation statements (–j)
If your database
contains view definitions that are dependent on each other, you can use this
option to avoid failure when reloading the views into a database. This option
causes view creation statements to be unloaded multiple times, as specified
by the count entered. This count should be small, and should correspond to
the number of levels of view dependency.
Unload schema definition only (–n)
With this option, none of the data
in the database is unloaded;
reload.sql
contains SQL statements to build the
structure of the database only.
Log output messages to file (–o)
Write output messages to the named
file.
Escape character (–p)
The default escape character (\) for external
unloads (dbunload -x switch) can be replaced by another character, using this
option. This option is available only from the command-line utility.
Operate quietly (–q)
Do not display output messages. This option is
available only from the command-line utility.
Specify reload filename (–r)
Modify the name and directory of the
generated reload Interactive SQL command file. The default is
in
reload.sql
the current directory. The directory is relative to the current directory of the
client application, not the server.
Unload only listed tables (–t)
Provide a list of tables to be unloaded. By
default, all tables are unloaded. Together with the
option, this allows you
-n
to unload a set of table definitions only.
Output unordered data (–u)
Normally, the data in each table is ordered
by the primary key. Use this option if you are unloading a database with a
corrupt index, so that the corrupt index is not used to order the data.
Enable verbose mode (–v)
The table name of the table currently being
unloaded, and how many rows have been unloaded, appears. This option is
available only from the command-line utility.
Use external unloading, internal reload (–xi)
This switch uses the
Interactive SQL OUTPUT statement to extract data from the database, and
uses the LOAD statement in the generated reload command file,
reload.sql
,
to repopulate the database with data.
143

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents