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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

java.sql.SQLException Error

Error is this

 

Identity column 'MRNNo' must be of data type int, bigint, smallint, tinyint, or decimal or numeric with a scale of 0, unencrypted, and constrained to be nonnullable.

 

Input field MRNNo is a string, how to handle this?

Labels (2)
1 Solution

Accepted Solutions
fdenis
Master
Master

uncheck "Trun on Identity insert"

View solution in original post

10 Replies
fdenis
Master
Master

it's defined somewhere as Identity column so it's not a string.
check your metadata
Anonymous
Not applicable
Author

Talend forced me to select the option "Specify Identity field". How can i ignore this? OR What to do for a successful transmission

fdenis
Master
Master

in witch component : tXxxxx ?

Anonymous
Not applicable
Author

I am exporting data from Excel to MSSQL DB

This option comes in tDBOutput.

 

MRNNo is alphanumeric, hence i cant select INT. MRNNo is string in both source and destination.

fdenis
Master
Master

are you inserting or updating data?
you canuse tMSSqlOutput for MSSQL DB!
Anonymous
Not applicable
Author

There too, if i select Create table then this option "Specify Identity field" pops up

fdenis
Master
Master

can you try with tMSSqlOutput
Anonymous
Not applicable
Author

I was saying about tMSSqlOutput only. "Specify Identity field" option is there if i select create table. 

fdenis
Master
Master

uncheck "Trun on Identity insert"