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

Operand type clash: varbinary is incompatible with float error running

When my job runs a good number of rows are both updated and inserted and then everything turns nasty with the error: Operand type clash: varbinary is incompatible with float.
Thing is I'm not sure where to begin to find where the problem is. The mapping looks reasonable good and I suspect it is the data I am getting back in the 1st place.
In general what is the best course of action or process of elimination do you use in this scenario?
Thanks, Dave.
0683p000009MEIM.png
Labels (2)
3 Replies
janhess
Creator II
Creator II

Check your schemas. Looks like data type incompatibility though the compiler should have picked it up.
Anonymous
Not applicable
Author

Hi,
Varbinary will cast implicitly to varchar and int but not float.
See the graph here: http://msdn.microsoft.com/en-gb/library/ms187928.aspx
I suspect you are not storing a true database null in the varchar and int columns
Best regards
Sabrina
Anonymous
Not applicable
Author

The problem seemed to in the select statement even though the destination table accepts NULLs for the money columns it seemed to not like the in TOS. So a simple ISNULL() seemed to do the trick