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: pL/SQL PROCEDUR

Re: pL/SQL PROCEDUR

From: <DBarbour_at_austin.isd.tenet.edu>
Date: Tue, 26 Mar 2002 08:38:34 -0800
Message-ID: <F001.00433613.20020326083834@fatcity.com>

Roland,

What a surprise! I thought you were moving to an Access list? Because I've taken a rather perverse interest in the questions you ask, I'll give you a hint: triggers and exception handling.

By the way, if no one has answered your question regarding a "table of table definitions", it's probably because they are suffering from shock. You are the DBA, are you not? This information already exists in a number of cleverly designed Oracle supplied views. I suggest you become familiar with the DBA_ views and the V$ views. A simple SQL query (which of course you'll ask for someone to provide an example) should get you all the information your heart desires.

Study your craft my friend.

David A. Barbour
Oracle DBA, OCP
AISD
512-414-1002

                                                                                                                   
                    Roland.Skoldbl                                                                                 
                    om_at_ica.se            To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    Sent by:             cc:                                                                       
                    root_at_fatcity.c       Subject:     pL/SQL PROCEDUR                                              
                    om                                                                                             
                                                                                                                   
                                                                                                                   
                    03/26/2002                                                                                     
                    12:23 AM                                                                                       
                    Please respond                                                                                 
                    to ORACLE-L                                                                                    
                                                                                                                   
                                                                                                                   




Hallo,
>
> Can anyone give me an example on a pl/sql code, which does the following:
>
> I have 4 procedures, and I want the following to be logged in a status
> table.
>
> Procedure names
> Start_time of procedure
> End_time_of procedure
> Error_code(if anything goes wrong)
> Error_message
>
> Please give me example onhow to write the code and also tell me how to
pick
> out the procedure_name, start_time of_procedure, end_time_ptocedure,
> error_code, error_message.
>
> Thanks in advance.And just dontgive me a link, i wantthis real example
too.
>
> Roland S

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: Roland.Skoldblom_at_ica.se

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: DBarbour_at_austin.isd.tenet.edu

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 Mar 26 2002 - 10:38:34 CST

Original text of this message

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