create or replace procedure ddd(p1 in number,p2 in varchar2) is
begin
update test set d2=to_date(p2,'yyyy/mm/dd/hh24:mi:ss') where id=p1;
commit;
end ddd;
/
begin
update test set d2=to_date(p2,'yyyy/mm/dd/hh24:mi:ss') where id=p1;
commit;
end ddd;
/
用楼上的写法即可。不 明白你为什么非要加上()
不需要對參數做任何的注釋、說明,直接
使用就可以了!