Copyright © Cloud Software Group, Inc. All Rights Reserved |
The REPLACE statement updates an occurrence in the database. You should first retrieve the data that you want to modify using a GET or FORALL statement.
• To alter the primary key value of an occurrence, you must DELETE the old occurrence and INSERT the new one.
Signaled if an error is detected in the specification of selection criteria Any exception lower in the hierarchy of the INTEGRITYFAIL group can also be signaled. Signaled if the primary key does not exist or if an attempt is being made to update a table from a rule running in browse mode
• Example 2 replaces data in the parameterized table CARS; it is parameterized by CITY. The values for the CITY parameter are provided by INPUT.CITY.
Copyright © Cloud Software Group, Inc. All Rights Reserved |