Description of destination-template transfer processing

During a destination-template transfer, the access service inserts the data values it retrieves with the sourceselectstatement from the source database into the destination-template SQL clause. This clause contains one question mark for each column in the result set of the sourceselectstatement.

Each value from the result set is substituted for the corresponding question mark in the template on a row-by-row basis. The access service executes the resulting statement against the target database.When you use the destination-template transfer statement, these restrictions apply:

WARNING! The DirectConnect server cannot correctly transfer varchar values containing empty strings (zero length non-null strings) in the destination-template transfer process. Empty string varchar values are interpreted as NULL values.