SQL$HELP72.HLB  —  EXECUTE  Arguments  statement-id-parameter
    Specifies the name of a prepared statement. You can supply either
    a parameter or a compile-time statement name. Specifying a
    parameter lets SQL supply identifiers to programs at run time.
    Use an integer parameter to contain the statement identifier
    returned by SQL or a character string parameter to contain the
    name of the statement that you pass to SQL.

    If the PREPARE statement for the dynamically executed statement
    specifies the same parameter, use that parameter in the EXECUTE
    statement instead of an explicit statement name. If an SQLCA is
    used to capture completion conditions and row count information,
    an SQLCA must be used with the PREPARE statement. See the PREPARE
    statement for more information.
Close Help