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%'
|