Stored procedures are compiled and stored in a database. There are a few major differences between a stored procedure and a SQL query:
Stored procedures are listed on the same tree as tables and views. Only one stored procedure may be selected per query. The stored procedure parameters are listed on the middle pane. Specify values for the parameters by selecting each parameter on the tree and entering a value or variable name.
If the result column list is not populated, select the ‘Column Info’ button to retrieve it. Select the ‘Preview’ button to preview the query. If any parameter is left as null or specified as ‘Prompt User’, when the query is executed a parameter dialog will pop up to prompt for the remaining parameters.
Due to the different ways database vendors implement stored procedures, not all stored procedures are supported by JDBC. If a stored procedure cannot be used in the Data Modeler, it could be executed by custom code, and setup as a Java object data source.
The following is a list of known restrictions on stored procedures:
Copyright © 2024, InetSoft Technology Corp.