Loading NVarchar Fields into SQl server 2005

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
anandkumarm
Premium Member
Premium Member
Posts: 55
Joined: Tue Feb 24, 2004 8:17 am

Loading NVarchar Fields into SQl server 2005

Post by anandkumarm »

Hi,

I am trying to load english data into a NVarchar field in a SQL server 2005 Database Table. I am using ODBC stage and NLS mapping is set to none. For certain records I am getting the following warning and the records are not loaded into the table:

DSD.BCIPut call to OCONV failed.
Column: Phrase, NLS mapname: CODEUNI, Column data (after conversion): D


Any help is appreciated,

Anand.
MT
Premium Member
Premium Member
Posts: 198
Joined: Fri Mar 09, 2007 3:51 am

Re: Loading NVarchar Fields into SQl server 2005

Post by MT »

Hi


I'm loading Unicode data to a SQL Server using NLS MS1252
This works fine

Maybe you should try this as well

regards
Michael

anandkumarm wrote:Hi,

I am trying to load english data into a NVarchar field in a SQL server 2005 Database Table. I am using ODBC stage and NLS mapping is set to none. For certain records I am getting the following warning and the records are not loaded into the table:

DSD.BCIPut call to OCONV failed.
Column: Phrase, NLS mapname: CODEUNI, Column data (after conversion): D


Any help is appreciated,

Anand.
anandkumarm
Premium Member
Premium Member
Posts: 55
Joined: Tue Feb 24, 2004 8:17 am

Post by anandkumarm »

Hello,

Thanks for the response, the culprit in our data was a special character which looks like an apostrophe but its not once that character has been cleaned everyhting works fine.

Thanks,
Anand.
Post Reply