Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
'Invalid data conversion' error when multiplying columns with same data type
Description
If you multiply two columns with the same data type (for example, both are integer) the following error appears in Toad: 'Invalid data conversion'. Running the same in another tool (IQ Client) works without any errors.
steps to replicate:
create table #test ( ID integer, Param1 Numeric(28,6), Param2 Numeric(28,6), Param3 Numeric(28,6) ) ; --this works insert into #test select 1, 4000000.000000, 4000000.000000, 4000000.000000
--this gives an error insert into #test select 2, 20795230.206513, 21412111,650000, 158667.000000
select ID, Param1, Param2,Param3, Param3*(Param1/Param2) from #test ;
Sign In Required
You need to be signed in and under a current maintenance contract to view premium knowledge articles.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.