首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

Oracle存储过程实现记录日志

create table -- Create table create table t_cem_proc_logs (   id      varchar2(32),   proc_mc  varchar2(100),   title    varchar2(4000),   content  clob,   log_type varchar2(10),   log_time date default sysdate ) ; -- Add comments to the table comment on table t_cem_proc_logs   is '日志'; -- Add comments to the columns comment on column t_cem_proc_logs.id   is 'id'; comment on column t_cem_proc_logs.proc_mc   is '过程名'; comment on column t_cem_proc_logs.title   is '标题'; comment on column t_cem_proc_logs.content   is '内容'; comment on column t_cem_proc_logs.log_type   is '日志级别:info,error,debug'; comment on column t_cem_proc_logs.log_time   is '时间'; -- Create/Recreate primary, unique and foreign key constraints alter table t_cem_proc_logs   add constraint pri_proc_logs primary key (ID);

01
领券