Try OpenEdge Now
skip to main content
Programming Interfaces
Data Management : Database Access : Database trigger considerations : Storing triggers in an operating system directory
 
Storing triggers in an operating system directory
In a development environment, it is usually a good idea to store trigger procedures in a directory. In a directory, you can store compiled procedures (.r files) and source procedures (.p files). You can modify the source code of the procedures as necessary.
Also, you can run uncompiled procedures against any database that has the appropriate schema. In contrast, if a procedure is precompiled, the r-code stores the logical name of the database you compiled the procedure against. The precompiled procedure can only run against a database with the same logical name.