Results 1 to 3 of 3

Thread: Procedure Concepts

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Answers
    2

    Procedure Concepts

    Can any one explain procedure calling another procedure, procedure within procedure, procedure for updation i need with time stamp, system exception, user define exception.


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: Procedure Concepts

    Quote Originally Posted by ravenkumar View Post
    can any one explain procedure calling another procedure, procedure within procedure, procedure for updation i need with time stamp, system exception, user define exception.
    To call procedure1 from proceudre2 use the following syntax
    create or replace procedure2 as
    begin
    procedure1(parameters);
    end procedure2;
    /

    procedure within procedure

    create or replace procedure welcome as
    procedure welcome_print(s char) as
    begin
    dbms_output.put_line('welcome to ' || s);
    end;
    begin
    welcome_print('geekinterview.com');
    end;
    /

    Last edited by krishnaindia2007; 03-14-2008 at 05:34 AM.

  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Procedure Concepts

    Please find a related discussion here.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact