level 1
xhlyh00520
楼主
我有库A,表ta,库B表tb
存储过程
procedure test(pd_date date default trunc(sysdate - 1)) is
jw_start date;
jw_end date;
begin
jw_start := trunc(pd_date);
jw_end := jw_start + 1;
insert into A.ta
(fdate, cnt)
select trunc(sysdate - 1), count(1) as cnt
from B.tb
commit;
end;
现在是暴无法查到A.ta的试图或表错误
2014年07月10日 02点07分
1
存储过程
procedure test(pd_date date default trunc(sysdate - 1)) is
jw_start date;
jw_end date;
begin
jw_start := trunc(pd_date);
jw_end := jw_start + 1;
insert into A.ta
(fdate, cnt)
select trunc(sysdate - 1), count(1) as cnt
from B.tb
commit;
end;
现在是暴无法查到A.ta的试图或表错误