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: calling program

RE: calling program

From: Ron Thomas <rthomas_at_hypercom.com>
Date: Fri, 15 Mar 2002 13:45:10 -0800
Message-ID: <F001.0042B07B.20020315134510@fatcity.com>

Ron Thomas
Hypercom, Inc
rthomas_at_hypercom.com
"Hit any PHB to continue..."
                                                                                                                       
                    japplewhite_at_inet                                                                                   
                    profit.com              To:     ORACLE-L_at_fatcity.com                                               
                    Sent by:                cc:                                                                        
                    root_at_fatcity.com        Subject:     RE: calling program                                           
                                                                                                                       
                                                                                                                       
                    03/15/02 02:23                                                                                     
                    PM                                                                                                 
                    Please respond                                                                                     
                    to ORACLE-L                                                                                        
                                                                                                                       
                                                                                                                       




Big Planet,

Whoa, now there's a can of worms!

In a word - no. Not unless you pass that info. in as an argument.

Think about what you're asking. Since PL/SQL procedures can be called from, not only other PL/SQL procedures and functions, but the SQL*Plus command line, ODBC calls, Java programs, etc. etc., what would be the identification mechanism?

Also, since PL/SQL functions can be embedded in SQL statements, there's yet another problem - how does a SQL statement know/report what program is using it?

The overhead to give you what you're asking would, IMHO, be too high if provided by the PL/SQL engine.

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com
(512)327-9068
     -----Original Message-----
     From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Big Planet
     Sent: Friday, March 15, 2002 2:18 PM
     To: Multiple recipients of list ORACLE-L
     Subject: calling program

     Hi LIst ,
     Is there a way a pl/sql procedureor function  can know the calling procedure or calling program
     .
     -ak






-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ron Thomas
  INET: rthomas_at_hypercom.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).
Received on Fri Mar 15 2002 - 15:45:10 CST

Original text of this message

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