The update Tag
Description
Updates a SQL table.
Type: SQL
Attributes:
- table
- identifies the SQL table to be updated
- fields
- field names to be updated in table, comma seperated list
- values
- value list for updating table, comma seperated list
- where
- SQL where clause to control effect on table
Loop Control: NO
Containing Tags
Not recommended
Used Within Tags - suggested
- atEnd
- For use with controlling tags, such as loop and segment
- composite
-
- connect
- required, but not does not immediatley precede it
- element
- if a particular element is updating a field in a table
- envelope
- functionalgroup
-
- if
- recommended: Yes
- loop
-
- segment
-
- select
-
- table
-
- transactionset
-
Example
<update table="PID" fields="FIELD1, FIELD2" values="F, FIRST" where='FIELD2="LAST"'/>