Chapter 9 SQL Statements
629
SYSTEM statement [Interactive SQL]
Use this statement to execute an operating system command from within
Interactive SQL.
SYSTEM [
operating-system
-
command
]
None.
Not supported on Windows operating systems.
None.
"COMMIT statement" on page 420
"CONNECT statement" on page 423
Executes the specified operating system command. If no command is
specified, a shell is started. You can return to Interactive SQL by using the
system exit command or by pressing C
TRL+D in UNIX.
♦ The SYSTEM statement must be entirely contained on one line.
♦ Comments are not allowed at the end of a SYSTEM statement.
♦
SQL/92 Vendor extension.
♦
Sybase Not applicable.
♦ The following statement executes the system command date.
SYSTEM date
Function
Syntax
Permissions
Side effects
See also
Description
Standards and
compatibility
Example