Results 1 to 3 of 3

Thread: Oracle SQL

  1. #1
    Join Date
    Aug 2005
    Posts
    17

    Unanswered: Oracle SQL

    Hi,
    Can someone please point me to a good online resource that has code samples on oracle sql.

    I have written MS SQL stored procedures but oracle has differences that I need to clear up.

    How do I call a stored procedure within a stored procedure?

    I tried putting this inside a stored procedure but it fails.

    call FA.SP_SCRIPT_A('123','TRTD000.1');

    Thanks.

  2. #2
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    You only use the "call" outside of a sql block. To call your routine (assuming that the running user has rights to execute your stored procedure) simply do the following

    (stored procedure fragment)

    begin
    FA.SP_SCRIPT_A('123','TRTD000.1');
    end;
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  3. #3
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >Can someone please point me to a good online resource that has code samples on oracle sql.
    Read the #1 Sticky post in this forum.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •