Hi All,
We are using DS EE 7.5.
We have a parallel job where we are just doing an update on a varachar column. We are getting sqlcode -1480. Even though it has a not null value,
still we are getting the same.
Also I checked my environment variable APT_STRING_PAD_CHAR which is having 0x00.
We used an oracle enterprise stage and in that we tried both automatic update stmt as well as user defined update statement.
Can some one help as it is a show stopper?
sqlcode - 1480
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
I suspect changing the APT_STRING_PAD_CHAR might work since Oracle thinks an empty string is the same as NULL
... 0x00 probably gives you the equivalent of an empty string. But a string full of spaces kind of defeats the purpose of having the column defined as varchar2. You might want to consider alllowing NULL in the column or providing a single character default value.
Mike
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Mike
Hello,
We changed that also and still we are getting the same problem. It works only when we use completely hard coded values for the update columns including the where clause. But when we pass the values from transformer stage into the Oracle stage, it is not working.
All we do is update two varchar columns and in where clause we have a numeric and date.
Target database is Oracle.
We changed that also and still we are getting the same problem. It works only when we use completely hard coded values for the update columns including the where clause. But when we pass the values from transformer stage into the Oracle stage, it is not working.
All we do is update two varchar columns and in where clause we have a numeric and date.
Target database is Oracle.
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
can you post the query when passing the values from transformer and also 1 or 2 records of the values passed?ds_ram wrote:Hello,
We changed that also and still we are getting the same problem. It works only when we use completely hard coded values for the update columns including the where clause. But when we pass the values from transformer stage into the Oracle stage, it is not working.
All we do is update two varchar columns and in where clause we have a numeric and date.
Target database is Oracle.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.![Wink :wink:](./images/smilies/icon_wink.gif)
Genius may have its limitations, but stupidity is not thus handicapped.
![Wink :wink:](./images/smilies/icon_wink.gif)