|
||||||||||
|
||||||||||
Other Library Functions |
function | dbProcedureExecute |
Library: omdbext - extended high level database support
Include: omdbext.xin |
define external function dbProcedureExecute value dbProcedure procedure in read-only stream in optional null value stream null optional out modifiable dbField out optional result modifiable dbField result optional
Where:
procedure
in
null
out
result
This function executes a stored procedure.
At the beginning of the function, the output shelf is cleared and filled with dbField items attached to the output and inout (combined input and output) procedure parameters. The input shelf items are sequentially matched to the procedure input parameters by position. You can represent NULL values in the input shelf item by an optional null specifier string or as an unattached stream.
The result shelf is cleared in the function. If the procedure returns a result value or record, the result shelf is filled with dbField items attached to the results. The data value is extracted from the output and return parameters in a subsequent call to the dbFieldValue function.
The output and result dbField field items are keyed with the name of the procedure parameter, if one exists.
Date and time fields
If a record used by the procedure has a date, time, or timestamp field, you must represent the field's value in the OmniMark Date and Time library format. (This format returns the time with a time zone offset from UTC time, which most databases do not provide.)
Other Library Functions dbCommit dbProcedureClose dbProcedureExecute dbProcedureOpen dbRollback dbSetTransactionType dbStatementCompile dbStatementDiscard dbStatementExecute |
---- |