create or replace procedure proc_test as
begin
insert into table1 values('你好',sysdate);
commit;
exception
when others then
rollback;
end ;
--或者设计表的时候默认
create table tablename
(
field1 varchar2(20),
field2 date default sysdate
)
begin
insert into table1 values('你好',sysdate);
commit;
exception
when others then
rollback;
end ;
--或者设计表的时候默认
create table tablename
(
field1 varchar2(20),
field2 date default sysdate
)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货