Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tMSSqlOutput field size problem

I have been converting DB2 tables to MS SQL tables and have run into a problem. In a couple of tables I have really large fields +20k in length. I am getting the following error when running the table creation process.
Exception in component tMSSqlOutput_1
java.sql.SQLException: The size (20480) given to the column 'WBSLABST_T' exceeds the maximum allowed for any data type (8000).
The DB2 field is identified as a type string. Is there another field type that will allow me to create the new SQL tables?
Any ideas would be appreciated.
Thanks, Bob
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Bob
In MS SQL the maximum varchar length is 8000. If you need larger field content, you need to change that column to TEXT.
Best regards
Shong

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hi Bob
In MS SQL the maximum varchar length is 8000. If you need larger field content, you need to change that column to TEXT.
Best regards
Shong