oracle - How to INSERT values to table after updating information SQL -
create table invoice ( inv_number char (10) not null, inv_date varchar2 (8) not null, order_number varchar2 (10) not null, r_date varchar2 (8) not null, f_date varchar2 (8) not null, arrive_time number not null );
this invoice table
and added it
select * invoice; alter table invoice add inv_total number (2);
this result after (select * invoice)
how can re-enter values "invoice table" without getting error? assume have update somehow able enter values. thank you.
update: insert statement.
insert invoice (inv_number, inv_date, order_number, r_date, f_date) values ('s104011041',to_date ('15/03/2015', 'dd/mm/yyyy'),'s004-011152',to_date ('15/03/2015', 'dd/mm/yyyy'),to_date ('15/03/2015','dd/mm/yyyy'));
Comments
Post a Comment