Name

orasql

orasql cursor sql-statement [-parseonly] [-async]

Send an SQL statement to the server using cursor handle cursor. Returns a numeric return code, which is 0 for successful execution, 3123 when -async is specified, and non-zero for errors. Updates the oramsg array variable elements rc, rows, and rowid.

Options

-parseonly

Parse, but do not execute, SQL statement (used with orabindexec).

-async

Execute asynchronously, i.e., without waiting for command to complete.

Raises an error if there is a syntax error in the SQL statement.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.