Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL Tunning
Hi,
sorry for my bad english....
I want to know if the following procedure has low performance when the
table is large.
Procedure xxx
select count(*)
into cant
from table1
where table1.col1 = value1
if cant=0
insert into table1....
end
The application that we're testing has procedures of that kind for all
operations. They don't manage exceptions because they verify the
condition before; but I think it's worst...
Is that OK?
Thanks.
Sent via Deja.com
http://www.deja.com/
Received on Thu Jan 25 2001 - 15:30:12 CST