Normally you get this type of error when you are casting a column into non-compatible data types e.g. casting char data into integer or something like that.
But without looking at the query it gets difficult to pin point what exactly is wrong.
↧