The purpose of this dialog box is to insert a stored procedure into your ColdFusion page.
Dreamweaver automatically fills in any parameters.
The Edit Stored Procedure Variable dialog box appears. To complete the dialog box, see Setting the Stored Procedure Variable dialog box options.
NOTE |
|
You must enter test values for any stored procedure input parameters. |
The Add Parameter dialog box appears. To complete the dialog box, see Setting the Add Parameter dialog box options.
NOTE |
|
You must enter corresponding page parameters for each stored procedure parameter return value. Do not add page parameters unless there is a corresponding return value. |
Click the Plus (+) button again to add another page parameter, if necessary.
The Edit Parameter dialog box appears. To complete the dialog box, see Setting the Add Parameter dialog box options.
Dreamweaver runs the stored procedure and displays the recordset, if any.
NOTE |
|
If the stored procedure returns a recordset and takes parameters, you must enter a value in the Default Value column in the Variables text box to test the stored procedure. |
TIP |
|
You can use different test values to generate different recordsets. To change test values, click Edit button for Parameter, then change the test value, or click Edit button for Page Parameter and change the default value. |
After you close the Stored Procedure dialog box, Dreamweaver inserts ColdFusion code in your page that, when run on the server, calls a stored procedure in the database. The stored procedure in turn performs a database operation, such as inserting a record.