Very good doubt
The solution is

   Do put procedures into a package and
then go for forward declaration.
then you get solution.


On Sat, Jul 9, 2011 at 9:58 PM, Rob Wolfe <wolfe....@gmail.com> wrote:

> Thanks!
>
> I see michael beat me to the answer.
>
> On Jul 9, 11:40 am, Yuvaraj Sundaresan <yuvarajssundare...@gmail.com>
> wrote:
> > This is one interview question, i searched answer i didnt got it thats y
> i
> > posted here
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Jul 9, 2011 at 10:37 AM, Rob Wolfe <wolfe....@gmail.com> wrote:
> > > With respect,
> >
> > > What is the use-case or the real world problem you are trying to deal
> > > with? Without that information this looks stunningly like a classroom
> > > assignment that I might have had in an intro class many years ago.
> >
> > > Rob
> >
> > > On Jul 9, 11:29 am, Yuvaraj Sundaresan <yuvarajssundare...@gmail.com>
> > > wrote:
> > > > Hi Friends,
> > > >    I need to create two procedures as mentioned below:
> >
> > > > CREATE OR REPLACE PROCEDURE A
> >
> > > > IS
> >
> > > > BEGIN
> >
> > > >    DBMS_OUTPUT.PUT_LINE('A');
> >
> > > >    B;
> >
> > > > END;
> >
> > > > CREATE OR REPLACE PROCEDURE B
> >
> > > > IS
> >
> > > > BEGIN
> > > > DBMS_OUTPUT.PUT_LINE('B');
> >
> > > >    A;
> >
> > > > END;
> >
> > > >    How to create this.
> >
> > > > Thanks in Advance
> >
> > > > Yuvaraj
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Oracle PL/SQL" group.
> > > To post to this group, send email to Oracle-PLSQL@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > oracle-plsql-unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/Oracle-PLSQL?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Oracle PL/SQL" group.
> To post to this group, send email to Oracle-PLSQL@googlegroups.com
> To unsubscribe from this group, send email to
> oracle-plsql-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/Oracle-PLSQL?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle-PLSQL@googlegroups.com
To unsubscribe from this group, send email to
oracle-plsql-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply via email to