Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Using procedures instead of coding update/insert SQL...huh?

RE: Using procedures instead of coding update/insert SQL...huh?

From: אדר יחיאל <adary_at_mehish.co.il>
Date: Tue, 15 Jan 2002 10:02:56 -0800
Message-ID: <F001.003F03B9.20020115093020@fatcity.com>

OK, fun aside:

  1. By deactivating the SQL procedure I meant any house keeping that oracle does like (maybe) release memory allocated to vars etc.
  2. I am working now for 30 years on mainframes and wintel servers. 20 years as dba on ADABAS and Oracle. You develop a knowledge base after all this time that let you 'hunch'.

If you do not believe in it, why are many of the questions address to 'Guru's ????

Yechiel Adar, Mehish Computer Services
adary_at_mehish.co.il

> -----Original Message-----
> From: Gogala, Mladen [SMTP:MGogala_at_oxhp.com]
> Sent: Tue, January 15, 2002 6:40 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Using procedures instead of coding update/insert
> SQL...huh?
>
> How about being an intuitive DBA. Sort of zen Buddhism and the
> database administration? Can you feel the pain of your oracle database
> when somebody executes a Cartesian product of two big tables?
> I'm still looking for sensei in that fine art.
>
> -----Original Message-----
> Sent: Tuesday, January 15, 2002 11:22 AM
> To: Multiple recipients of list ORACLE-L
>
>
> remove the battery of course :)
>
> um, invalidate it? of course, if you do that, then Oracle will simply
> compile it at the time you access it, making it valid and will then
> execute it
>
> I love "intuitive" facts
>
>
> --- Kimberly Smith <ksmith2_at_myfirstlink.net> wrote:
> > How do you deactivate a procedure?
> >
> > -----Original Message-----
> > Sent: Tuesday, January 15, 2002 6:20 AM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > Hello All
> >
> > It is not efficient.
> > We are talking about sending one insert statement against: call
> > procedure,
> > activate the procedure in the database, parse and pass the
> > parameters, do
> > the same insert, set return code, deactivate the procedure etc.
> >
> > The idea behind this method is to isolate various functions to black
> > boxes,
> > so you can change each of them without changing the program that use
> > them.
> > In short 'MAINTENANCE' (which is 70-80% of our daily life).
> >
> > Yechiel Adar, Mehish Computer Services
> > adary_at_mehish.co.il
> >
> > > -----Original Message-----
> > > From: tday6_at_csc.com [SMTP:tday6_at_csc.com]
> > > Sent: Tue, January 15, 2002 3:25 PM
> > > To: Multiple recipients of list ORACLE-L
> > > Subject: Re: Using procedures instead of coding update/insert
> > > SQL...huh?
> > >
> > > I've seen this done also on a Java project. My understanding was
> > that it
> > > had to do more with the way an object oriented programmer's mind
> > worked
> > > than with any code efficiency.
> > >
> > >
> > >
> > >
> > >
> > > "Grabowy,
> > >
> > > Chris" To: Multiple
> > recipients of
> > > list ORACLE-L
> > > <cgrabowy <ORACLE-L_at_fatcity.com>
> > >
> > > @fcg.com> cc:
> > >
> > > Sent by: root Subject: Using
> > procedures
> > > instead of coding
> > > update/insert SQL...huh?
> > >
> > >
> > >
> > > 01/14/2002
> > >
> > > 10:10 AM
> > >
> > > Please
> > >
> > > respond to
> > >
> > > ORACLE-L
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > I just joined a new Oracle/Java project using Tomcat app server.
> > On this
> > > project they decided to create an update procedure and insert
> > procedure
> > > for
> > > every table. This procedure is then called in the Java code with
> > the
> > > appropriate parameters passed, instead of simply coding the UPDATE
> > or
> > > INSERT
> > > SQL directly in Java.
> > >
> > > Does anyone else take this approach? I'm trying to understand the
> > pros vs
> > > cons of this approach.
> > >
> > > TIA!!!
> > >
> > > Chris
> > > --
> > > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > > --
> > > Author: Grabowy, Chris
> > > INET: cgrabowy_at_fcg.com
> > >
> > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > > San Diego, California -- Public Internet access / Mailing
> > Lists
> > >
> > --------------------------------------------------------------------
> > > To REMOVE yourself from this mailing list, send an E-Mail message
> > > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > > the message BODY, include a line containing: UNSUB ORACLE-L
> > > (or the name of mailing list you want to be removed from). You may
> > > also send the HELP command for other information (like
> > subscribing).
> > >
> > >
> > > --
> > > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > > --
> > > Author:
> > > INET: tday6_at_csc.com
> > >
> > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > > San Diego, California -- Public Internet access / Mailing
> > Lists
> > >
> > --------------------------------------------------------------------
> > > To REMOVE yourself from this mailing list, send an E-Mail message
> > > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > > the message BODY, include a line containing: UNSUB ORACLE-L
> > > (or the name of mailing list you want to be removed from). You may
> > > also send the HELP command for other information (like
> > subscribing).
> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > This e-mail was scanned by the eSafe Mail Gateway
> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?=
> > INET: adary_at_mehish.co.il
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing
> > Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Kimberly Smith
> > INET: ksmith2_at_myfirstlink.net
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing
> > Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rachel Carmichael
> INET: wisernet100_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Gogala, Mladen
> INET: MGogala_at_oxhp.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This e-mail was scanned by the eSafe Mail Gateway
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?=
  INET: adary_at_mehish.co.il

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jan 15 2002 - 12:02:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US