SYSTEM statement [Interactive SQL]

Use this statement to launch an executable file from within Interactive SQL.

Syntax
SYSTEM ' [path] filename '
Remarks

Launches the specified executable file.

  • The SYSTEM statement must be entirely contained on one line.

  • Comments are not allowed at the end of a SYSTEM statement.

  • Enclose the path and file name in single quotation marks.

Permissions

None.

Side effects

None.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement launches the Notepad program, assuming that the Notepad executable is in your path.

SYSTEM 'notepad.exe';