User`s guide
7 Functions — Alphabetical List
7-216
Example: {java.sql.Types.NUMERIC}
Data Types: cell
Output Arguments
results — Stored procedure results
logical | cell array
Stored procedure results, returned as a logical or cell array.
runstoredprocedure returns a logical 1 when calling the stored procedure returns a
data set. Otherwise, runstoredprocedure returns a logical 0. If the stored procedure
returns a data set, use exec and fetch to call the stored procedure and retrieve the data
set. For details, see “Call a Stored Procedure That Returns Data”.
runstoredprocedure returns a cell array when you specify one or more output Java
data types for the output arguments of the stored procedure. Use cell array indexing to
retrieve the output argument values.
More About
• “Connecting to a Database”
See Also
close | database | exec | fetch