Chapter 5 Building Triggers and Procedures
You can use the SQL/XML Wizard to insert a SQL/XML query in the definition of a trigger, a stored procedure or a function. With the SQL/XML Wizard, you select tables and views from a PDM to build a mapped XML model. This silent XML model (it does not appear in the workspace) is used to generate SQL/XML queries from global elements. These SQL/XML queries allow you to store or retrieve data, in an XML format, from relational databases supporting SQL/XML.
During the SQL/XML Wizard process, you can perform the following actions:
To insert a SQL/XML query in the definition of a trigger:
These different actions are detailed in the following sections.
Note: The trigger used in the following sections is defined in project.pdm, a PDM from the PowerDesigner Examples library.
Copyright (C) 2005. Sybase Inc. All rights reserved. |