Chapter 6 Building Triggers and Procedures


Procedure Templates (PDM)

PowerDesigner procedure templates allow you to create procedures in a modular reusable fashion.

PowerDesigner provides certain basic procedure templates and also allows you to write your own. You can create procedure templates in your DBMS definition file or in your model. These elements will be available as follows:

Procedure template created in: Available to
DBMS (shared definition file) All models sharing the DBMS
DBMS (copied definition file) Current model only

For more information on the DBMS share and copied definition files, see the "Generating a Database from a PDM" chapter.

Note   Modifying DBMS template items
By modifying a DBMS template, you modify its definition in the current DBMS. You should only modify a DBMS if you have already made a copy of the DBMS definition file provided with PowerDesigner.

For more information on creating and copying a DBMS, see the "The Resource Editor" chapter in the General Features Guide .

 


Copyright (C) 2007. Sybase Inc. All rights reserved.