I tried to insert into an Oracle table by the following instruction:
insert into orders values (&order_id, &order_date, '&customer_id', &amount);
where desc orders
is as follows:
Name Null Type
----------- ---- ---------
ORDER_ID NUMBER(4)
ORDER_DATE DATE
CUSTOMER_ID NUMBER(4)
AMOUNT NUMBER(5)
I tried to insert: order_id=110, order_date=12-march-2013, customer_id=115 and amount=1100
This is the error message I am getting:
Error starting at line 26 in command:
insert into orders values (110, 12-march-2013, 115, 1100)
Error at Command Line:26 Column:35
Error report:
SQL Error: ORA-00984: column not allowed here
00984. 00000 - "column not allowed here"
*Cause:
*Action: