What is the max length of LongVarChar in ODBC

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
raj158347
Participant
Posts: 26
Joined: Thu Apr 19, 2007 5:15 am
Location: Chennai

What is the max length of LongVarChar in ODBC

Post by raj158347 »

Hi,
We want to retrieve data from SQl server which has data type as TEXT in SQL server.
The DataType specified in the ODBC stage is LongVarChar with length of
2147483647
When the data lengh is exceed 192203 we are not able to view the data through ODBC satge and when ever we try to open the ODBC stage it is hang for some time and connection was terminated
Even the job also got abort.

Please help me to resolve the issue ?
Let me know any length limitation for LongVarChar

thanks in advance for your help


Regards
Raj
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Check the documentation for the stage, I'll wager you'll find a TEXT field is not supported.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply