Required Parameters
- driver: The JDBC driver class name in the cross-platform edition or the ADO.NET provider name in the .NET edition.
- conn: The connection string or database URL.
- sp: The name of the stored procedure.
Optional Parameters
- commandtimeout: The command timeout, in seconds, for the operation to complete. Zero (0) means no timeout. The default is
60. - paramname#: The parameter names.
- paramvalue#: The parameter values.
- paramtype#: The parameter types.
- fromrow: The number of rows to skip from the beginning. The default is
0. - maxrows: The maximum number of rows to return from the database. Set to
-1(the default) to get all results. - querypassthrough: Pass the query to the operation as-is instead of performing client-side validation and syntax correction.
Output Attributes
- db:\: Output varies based upon the stored procedure.
Example
This example executes a stored procedure in a MySQL database using the cross-platform edition of .driver and conn inputs as follows: