Stored procedures are SQL statements that are stored on the DBMS server itself. Instead of entering SQL directly, you can call the stored procedure by name to execute the stored SQL. Stored procedures are invaluable for several reasons:
There are lots of reasons to use stored procedures, which are created using the SQL CREATE PROCEDURE statement (which varies dramatically from one database to the next).
For information about invoking stored procedures from within your ColdFusion code, see Chapter 23, "Stored Procedures." |