Code page - SQL Server DataType issue

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
rumu
Participant
Posts: 286
Joined: Mon Jun 06, 2005 4:07 am

Code page - SQL Server DataType issue

Post by rumu »

Dear All,

I am facing an issue with SQL Server Data type.Our database is SQL Server 2008.
The NLS code page IBM 00142 is being used along with NCHAR/ NVARCHAR as per the guidelines from the DBA.
There re two columns,'Status ID' and 'IST_ID' declared as NCHAR and expected value would be 'Y' and 'I' respectively.This values are assigned in Transformer.when the above two columns are declared as 'Unicode' ,some junk values are loaded in these two fields instead of mapping value but when these two columns are not declared as 'Unicode',proper value is being loaded.

So,is there any standard for CHAR datatype in SQLSERVER?

Regards,
Rumu
Rumu
IT Consultant
rumu
Participant
Posts: 286
Joined: Mon Jun 06, 2005 4:07 am

Post by rumu »

Dear All,

Can anybody please give some suggestion on my query?

Regards,
Rumu
Rumu
IT Consultant
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Rumu - you waited a whole hour before bumping your thread, what paid-for organization has response times like that? DataStage is volunteer and most members are in the USA, where it is still 2AM on Monday morning.

What page is IBM 00142, all I found in Google was a reference to EBCDIC
rumu
Participant
Posts: 286
Joined: Mon Jun 06, 2005 4:07 am

Post by rumu »

ArndW wrote:Rumu - you waited a whole hour before bumping your thread, what paid-for organization has response times like that? DataStage is volunteer and most members are in the USA, where it is still 2AM on Monday morning.

What page is IBM 00142, all I found in Google was a reference to EBCDIC

Arndw,
I had posted my first post on Feb 10 and I waited for 5 days for any reply and then today I asked for a reply.

Regards,
Rumu
Rumu
IT Consultant
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

SORRY! I looked at the time and ignored the date portion.

So what is IBM 00142?
rumu
Participant
Posts: 286
Joined: Mon Jun 06, 2005 4:07 am

Post by rumu »

ArndW wrote:SORRY! I looked at the time and ignored the date portion.

So what is IBM 00142? ...
Hi Arndw,

Sorry Arndw,the code page is IBM01142 and the default collation locale is Project (OFF)

Regards,
Rumu
Rumu
IT Consultant
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

IBM 01142 is an EBCDIC code page. I was not aware of SQL Server running on an EBCDIC machine. This is perhaps the source of your problems.
rumu
Participant
Posts: 286
Joined: Mon Jun 06, 2005 4:07 am

Post by rumu »

ArndW wrote:IBM 01142 is an EBCDIC code page. I was not aware of SQL Server running on an EBCDIC machine. This is perhaps the source of your problems. ...

Hi Arndw,

In SQL Server we are using Danish_Norwegian_CI_AS collation.

Regards,

Rumu
Rumu
IT Consultant
Post Reply