Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Embedded SQL vs Stored Procedures
Tibor Jager wrote:
> Gama Franco wrote:
>
>> I'm using OCCI to develop a new aplication, but I have one doubt about >> the most efficient way to make an operation. >> The operation makes inserts some rows in different tables, and also >> creates some new tables. I would like to know if it is faster to >> compute this kind of operations if they are hard codded in OCCI, or >> using a stored procedure that recieves all the parameters needed and >> takes care of the insertions and creations.
Ok, thank you.I also see a lot of advantages in using PL/SQL. If in the future the users decide to drop OCCI, or even make an application that uses JDBC or ODBC would spare me a lot of time, if some part of the code were already done. My only doubt was about efficiency, but what you said makes a lot of sense (SQL validation and the optimizer will be used only when the procedure it is created).
Best regards,
Gama Franco Received on Wed Sep 08 2004 - 03:53:16 CDT
![]() |
![]() |