一个颇高难度的存储过程
civb 2004-04-30 03:17:52 create or replace procedure delete_all(pName varchar2) is
begin
delete Tbparam where Name= pName and BS in (select BS from TbBase);
..................
end delete_all;
怎么增加一两句,把TbBase 相应的BS的记录也删掉。
我只能想到临时表。不知道怎么在orcale中创建临时表
比如sql中的select into b from a;