Stored procedure call

The SQL command invokes specialized routines that are stored inside a database.

A procedure is a set of SQL statements grouped together as an executable unit to perform a specific task. Stored procedures give the SQL language the ability to perform database-related application processing within the database itself - a capability normally associated with programming languages. The application processing capabilities include conditional execution, looping, block structure, named variables, and named procedures. Prior to the advent of relational database systems, databases were essentially used only for the storage and retrieval of data.

The SQL Stored Procedure Call in ECMap allows a map to issue a call to a stored procedure from within ECMap. However, not all databases support the entire range of options offered by ECMap. As a result, mappers must be aware of any limitations imposed by the specific ODBC database drivers that they are using. In addition, some databases limit the number of Select statements that are permitted. (In such a case, you would create rules to eliminate unnecessary Select statements.)

On the SQL Procedure Call window, you enter information about the stored procedure itself, the database in which it is stored, and the values passed into and out of the stored procedure.

Variables

Enter the following on the SQL Procedure Call window: