sql server NVARCHAR

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
knowledge
Participant
Posts: 101
Joined: Mon Oct 17, 2005 8:14 am

sql server NVARCHAR

Post by knowledge »

Hi ,

I am loading data from SQL Server 2008 to oracle ...One of the datatype is Nvarchar ...it is giving problem while loading into datastage ..I am using DRS stage for sql server ...

Please suggest ..

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

Post by ray.wurlod »

Try using ODBC stage for SQL Server.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do we get any clues as to the nature of the problem?
-craig

"You can never have too many knives" -- Logan Nine Fingers
knowledge
Participant
Posts: 101
Joined: Mon Oct 17, 2005 8:14 am

Post by knowledge »

Hi ,

It is giving out of range error ...I will post exact error tomorrow ...

Thanks for the reply...
samunik
Premium Member
Premium Member
Posts: 10
Joined: Fri Oct 08, 2004 11:10 am
Location: USA

Post by samunik »

I believe with DRS you mean Dynamin RDMS stage. Dynamic RDMS has its limits with the size of the datatype. Please check what is the length of the NVARCHAR field. try defining it as long varchar or as ray suggested ODBC stage.

I too had a same problem trying to being BLOB datatype.
Post Reply