- CREATE OR REPLACE PROCEDURE AAA_Test(jcdate in date,outres out sys_refcursor ) as
- BEGIN
- open outres for
- select jcdate+1 as ndate, to_date('2018-12-31','yyyy-mm-dd') as F1,(trunc(to_date('2018-12-31','yyyy-mm-dd')-1,'d')) as F2 ,to_date('2018-12-31','yyyy-mm-dd')-(trunc(to_date('2018-12-31','yyyy-mm-dd')-1,'d')) as F3 from dual --本周天数
- ;
- END AAA_Test;
复制代码
上面是存储过程
这是参数
那里错了????
|