Examples of Stored Procedures

The following sections present examples of a function and a subroutine. Both examples show techniques that may be useful when writing your own stored procedures.

Function Example

Subroutine Example