Do we need to change the sql_type in parallel?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsuser91
Participant
Posts: 17
Joined: Fri Aug 21, 2009 8:11 am

Do we need to change the sql_type in parallel?

Post by dsuser91 »

Do we need to change the sql_type in parallel?

COLUMN NAME: ID
SQL_TYPE: DECIMAL
LENGTH: 14
DISPLAY: 17

O/P 555

PARALLEL:

COLUMN NAME: ID
SQL_TYPE: DECIMAL
LENGTH: 14

O/P
000000000000555.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No. The leading zeroes are added when the value is displayed or converted to string to show that precision and scale are being handled correctly. The value is correct.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dsuser91
Participant
Posts: 17
Joined: Fri Aug 21, 2009 8:11 am

Post by dsuser91 »

ray.wurlod wrote:No. The leading zeroes are added when the value is displayed or converted to string to show that precision and scale are being handled correctly. The value is correct. ...
Thanks
Post Reply