Page 1 of 1

Nvarchar - Datatype Not Supported

Posted: Tue Nov 24, 2009 3:50 am
by DSMaestro
When i was trying to extract column from a table mounted in SQL-Server 2005 database, I was getting the following error,

Error executing View Data command:##E IIS-DSEE-TDOD-00001 10:41:44(007) <main_program> Datatype Not Supported

##E IIS-DSEE-TDOD-00001 10:41:44(007) <main_program> Datatype Not Supported
##E IIS-DSEE-TOPK-00007 10:41:44(012) <_PEEK_IDENT_> Input dataset does not have field: "SupportCallEventID".
##E IIS-DSEE-TOPK-00007 10:41:44(013) <_PEEK_IDENT_> Input dataset does not have field: "Notes".
##E IIS-DSEE-TFSR-00019 10:41:44(015) <main_program> Could not check all operators because of previous error(s)
##E IIS-DSEE-TCOS-00029 10:41:44(022) <main_program> Creation of a step finished with status = FAILED.
I found there is a column 'Notes' in the table with data type of NVarchar(max) length, which is giving the problem.

How could we read the columns with NVarchar(max) in datastage.

Thanks in Advance....

Posted: Tue Nov 24, 2009 6:38 am
by chulett
What stage are you using? What does the documentation for that stage list as unsupported data types and/or as 'issues' for the stage?

Posted: Tue Nov 24, 2009 7:13 am
by DSMaestro
chulett wrote:What stage are you using? What does the documentation for that stage list as unsupported data types and/or as 'issues' for the stage? ...

I'm using 'SQLServer Enterprise' Stage for extracting the records.

Documentation for this stage doesn't give any information about the unsupported data types.

Posted: Tue Nov 24, 2009 4:08 pm
by ray.wurlod
NVarChar is supported. NVarChar(max) - aka TEXT - probably isn't. Try using a large bounded NVarChar.

Posted: Tue Nov 24, 2009 4:22 pm
by chulett
DSMaestro wrote:
chulett wrote:What stage are you using? What does the documentation for that stage list as unsupported data types and/or as 'issues' for the stage? ...
I'm using 'SQLServer Enterprise' Stage for extracting the records.

Documentation for this stage doesn't give any information about the unsupported data types.
You're right. That's too bad, the documentation for the other DB stages certainly does and I find it hard to believe that there are no issues or unsupported data types with these stages.

Posted: Wed Nov 25, 2009 2:55 am
by Sreenivasulu
Use ODBC Enterprise/ ODBC Connector stage to get around this issue

Regards
Sreeni

Posted: Thu May 13, 2010 9:37 pm
by desmondcheah
I've also notice.. when using ODBC Connection.. "table" read will get you this problem if there are VarGraphic datatype in the table.

But if you do a custome/user query and select normal datatype column.. it works.

*Cheers