Entering content frame

This graphic is explained in the accompanying text DBPROCEDURES Locate the document in the library structure

Prerequisites

You have generated the Structure linkdemo data for the SQL Tutorial.

Log on to the demo database instance DEMODB as user MONA.

Create database procedures. Proceed as described in SQL Tutorial, Structure linkDatabase Procedures.

Examples

You can use the system table DBPROCEDURES to determine the following database information, among other things:

     All database procedures of the HOTEL schema and their comments that were created in the last 10 days

SELECT schemaname, dbprocname, comment
  FROM DOMAIN.DBPROCEDURES
    WHERE schemaname = 'HOTEL' AND createdate >= subdate(date,10)

     All database procedures of the SYSLOADER schema and their definition

SELECT schemaname, dbprocname, definition
  FROM DOMAIN.DBPROCEDURES
    WHERE schemaname = 'SYSLOADER'

Note

Parameters of a database procedure: see DBPROCPARAMS

 

Leaving content frame