For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

dml

Control the behaviour of Interchange inserts and updates triggered by calls to the [update data] tag.

Valid values

Valid values are "preserve", "strict" or no value at all.

The default is no value at all.

Description

This pragma controls the mechanism used by Interchange when inserting or updating data in a table using [update data]

If no value is set then Interchange will check whether a row exists before attempting to insert a new row.  If a row with the specified primary key exists then an UPDATE will be performed instead of an INSERT.

If this pragma is set to "preserve" then Interchange will only attempt to INSERT rows.  If the specified primary key already exists then the INSERT will fail and no attempt to fall back to a SQL UPDATE will be made.

If this pragma is set to "strict then the selected INSERT or UPDATE mode will be strictly enforced.

Availability

Availability

This pragma was introduced in version 5.5.2, and is therefore not available for use with any earlier Interchange version.

Category:  Interchange pragmas
Last modified by: Kevin Walsh
Modification date: Thursday 15 May 2008 at 11:15 PM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us