IBM 000-8697 Manual Do Utilizador

Página de 702
12
IBM Informix OnLine Database Server Administrator’s Guide
Sample Code Conventions
To construct a similar command, start at the top left with the command
tbunload
. Then follow the diagram to the right, including the elements that
you want.
1.
Type
tbunload
.
2.
Optionally, change the parameters of the tape device that is to receive
the data.
If you wish to do this, turn to
for further syntax informa-
tion. Otherwise, tbunload uses the current archive tape device.
3.
Specify either a database name or a table name to indicate the data
that you wish to copy to tape.
You can take the direct route to the terminator, or you can take an
optional path indicated by any one of the branches below the main
line.
Once you are back at the main diagram, you come to the terminator.
Your
tbunload
 command is complete.
4.
Press
RETURN
 to execute the command.
Sample Code Conventions
Examples of
SQL
code appear throughout this manual. Except where noted,
the code is not specific to any single Informix application development tool.
If only
SQL
 statements are listed, they are not delineated by semicolons.
For instance, you might see the following example code:
DATABASE stores
.
.
.
DELETE FROM customer
WHERE customer_num = 121
.
.
.
COMMIT WORK
CLOSE DATABASE