?
1) 查询出前一天的数据,并插入到另一表中的存储过程:
- ----------创建一存储过程:??
- create?or?replace?procedure?P_TEST?is??
- begin??
- ??insert?into?test_table??
- ????(id,?content,?account,states)??
- ??????select?'ty'?||?to_char(current_timestamp,'yyyymmddhh24missff'),??
- ???????????'test?content....',??