Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: newbie 2Ques- SQL procedure calling another proc and Select statement
shall_at_uaex.edu wrote:
> Ques.(1) How do I create a Select statement based on the input
> parameter?
> Example
> Create procedure myTest(myValue IN Number)
> ...
> Begin
> Select myFields
> From myTable
> IF myValue =1 Then
> WHERE somecondition
> ELSE
> WHERE another condition
> END IF;
>
> ====================================
> Ques(2) When inside ProcedureAA, How do I call ProcedureBB that's
> in another Package?
>
> TIA.
> Steve
Please stop abusing this forum as a replacement for reading manuals.
-- Sybrand Bakker Senior Oracle DBAReceived on Sun Oct 15 2006 - 09:00:26 CDT