create table item_stock
( itemcode varchar2(11) not null,
name varchar(27) not null,
des varchar2(30),
pcs number(11),
unit varchar(7),
qty number(11),
stkdate date,
constraint itemcodef_pk primary key(itemcode, name)
);
BEGIN
update table item_stock
set 'item_stock.itemcode' = 'item_stock.itemcode';
END;
Error 103 at line 2, column 14
Encountered the sysmbol "ITEM_STOCK" when expecting one of the following.
Can anybody help me to resolve this error.
This one:
Update item_stock A
Set A.itemcode = item_stock.itemcode;
Note:
The data type of the item_stock.itemcode
must be same as A.itemcode
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.