Question : Insert into error

This is my first insert select I am getting an error of

Server: Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to numeric.

I do not know how to determine what data is not converting. Also what the resolution would be.

The last column of the table looks to be a self generated ID. Is there anything I need to do to make sure that number is in sequence?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
Insert into copy_price 
(price.number,
price.nposition,
price.price,
price.discount,
price.costplus,
price.qty,
price.cl_key,
price.total_dol,
price.catcode,
price.sqin,
price.page,
price.ctype,
price.ctype2,
price.ctype3,
price.date_start,
price.date_end,
price.custnum,
price.rfm,
price.ordertype,
price.costmethod,
price.plevel,
price.price_id)

Select 
stock.number,
'1',
stock.price1,
'10',
'0',
'2',
'',
'0',
'',
'0',
'0',
'',
'',
'',
NULL,
NULL,
'0',
'0',
'',
'',
'',
''

from stock where stock.number like 'AIS114%'

Answer : Insert into error

No issues you can just Disable the new mailbox and reconnect the older one. There is no problem in doing that

Random Solutions  
 
programming4us programming4us