Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Pro C: Can I separate sql functions into several programs in Pro C

Re: Pro C: Can I separate sql functions into several programs in Pro C

From: Tim Witort <trwAT_at_ATmedicalert.DOTorg>
Date: 1997/07/03
Message-ID: <33BC405A.48EF@ATmedicalert.DOTorg>#1/1

Jacques Raymond Kilchoer wrote:
>
> Jun Wang wrote:
>
> > Hello, Everyone,
> >
> > I am working on a huge project to access Oracle database.
> > I plan to use Pro*C. Can I put sql functions into different
> > programs and link them together?
> >
> > It looks like that Pro*C does not allow you to do so
> > because it does not exchange db_connection context among the program.
>
> I'm not sure if I understand what you are trying to say. Do you mean different
> source codes (.C files) creating different objects that are linked together in
> one executable? That's certainly possible. Not all SQL statements need to be in
> the same source code.

Ditto. I do it all the time. But if you are connecting to multiple databases within a single Pro*C program, then it gets a little tricky.

Received on Thu Jul 03 1997 - 00:00:00 CDT

Original text of this message

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