SYSTEM statement [Interactive SQL]
Function
Syntax
Permissions
Side effects
See also
Description
Standards and
compatibility
Example
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
♦
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.
♦
Not applicable.
Sybase
♦
The following statement executes the system command date.
SYSTEM date
Chapter 9 SQL Statements
+D in UNIX.
TRL
629
Need help?
Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?
Questions and answers