Hi All,
In one of our Jobs, we are using MQ messages as source.
we haven't mension any length for messsage column and mention trype as varchar.
it's showing compailation error
"Precision of Varchar column must be greater then zero"
but some other jobs in the same project running without error
without mention the length of varchar column.
Please advise on this
thanks in advance
Dsedi
Precision of Varchar column must be greater then zero?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DataStage is interpreting "" ("we didn't mention any precision") as 0.
You couldn't do it in DDL.So why do you think it's legal within DataStage?
You couldn't do it in DDL.
Code: Select all
CREATE TABLE FRED (LASTNAME VARCHAR(0) NOT NULL);
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.