IBM Support

Every field is being offset by one column in a SQL map due to a column having a format of timestamp *|* -94D19FB221CD809C

Question & Answer


Question

Every field is being offset by one column in a SQL map due to a column having a format of timestamp *|* -94D19FB221CD809C85257917007E1661- *|*

Answer

Technote (troubleshooting)


Problem(Abstract)

Every field is being offset by one column in a SQL map due to a column having a format of timestamp

Symptom

A database table in a SQL map contains a column with the data type of timestamp. This column is returned as part of the result set. The map editor can not accomidate this data type therefore it is moving the data for the next column into the 'timestamp' field within the map.

Since the field in the map with the corresponding timestamp data type cannot be populated the data read into that field is going to the next field in the map causing all subsequent fields to be incorrect.

Error Message

No error message - the data getting inserted into database is off a column.


Resolving the problem

From Microsoft's site:
Despite the name a SQL Server timestamp column is not based on the system time and does not contain a date or time value. Instead the timestamp column is an array of binary values.

Since it is an array of binary values it can not be pulled into the map as a field which causes all of the column numbers after it to be off.

Either edit the view or query so that it does not have a timestamp in the result set.

Historical Number

NFX5277

Product Alias/Synonym

Severity


Normal


[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

More support for:
Sterling Total Payments for Financial Services

Software version:
All Versions

Document number:
768429

Modified date:
12 October 2021

UID

ibm10768429

Manage My Notification Subscriptions