thread183-974713
Error converting data type varchar to numeric.
Hello
If someone could help I would be grateful - this error is driving me nuts.
I am trying to insert data from 1 table into another. I can't fiind the conversion problem and have replaced the fields in the receiving table to receive 0 just so I can rule out the fields
insert USR_COMPANY_ADDITIONAL_CODES
select
ADDDATE as ADDDATE,
ADDOPER as ADDOPER,
0 as CONCURRENCY_ID, -- numeric
MASTER_CUSTOMER_ID as MASTER_CUSTOMER_ID,
MODDATE as MODDATE,
MODOPER as MODOPER,
0 as SEQUENCE_NO,
0 as SUB_CUSTOMER_ID,
1 as USR_CODE_type, -- numeric
Usr_code_id as USR_CODE_ID
from usr_company_type_of_operations
Can anyone see the problem? Does this error come up for another reason I don't know about?
Thanks
Dave
Error converting data type varchar to numeric.
Hello
If someone could help I would be grateful - this error is driving me nuts.
I am trying to insert data from 1 table into another. I can't fiind the conversion problem and have replaced the fields in the receiving table to receive 0 just so I can rule out the fields
insert USR_COMPANY_ADDITIONAL_CODES
select
ADDDATE as ADDDATE,
ADDOPER as ADDOPER,
0 as CONCURRENCY_ID, -- numeric
MASTER_CUSTOMER_ID as MASTER_CUSTOMER_ID,
MODDATE as MODDATE,
MODOPER as MODOPER,
0 as SEQUENCE_NO,
0 as SUB_CUSTOMER_ID,
1 as USR_CODE_type, -- numeric
Usr_code_id as USR_CODE_ID
from usr_company_type_of_operations
Can anyone see the problem? Does this error come up for another reason I don't know about?
Thanks
Dave