Re: help with my project Pro*C

From: GHouck <hksys_at_teleport.com>
Date: Wed, 05 Apr 2000 16:47:38 -0700
Message-ID: <38EBD09A.614D_at_teleport.com>


Iza Sowula wrote:
>
> Hi,
>
> In my project the use is asking questions about my database in conversional
> English.So far I've developed program in C which creates SQL queries. I want
> to use Pro*C to connect to Oracle. The question is as follows:
> Because each time my query is going to be different, I have to do it
> dynamically.
> I think I have to replace cursor with function or some call to my program
> already written, But I cant find anything on how to do it.
> Any suggestions?
>
> Thanks
>
> Izabela

You are probably going to have to use one of the Dynamic SQL Methods (1 through 4), and there are examples in the PROC folder under the \orant folder (or equivalent). They seem to be named CPPDEMO*.cpp, or SAMPLE*.PC.

Yours,

Geoff Houck
systems hk
hksys_at_teleport.com
http://www.teleport.com/~hksys Received on Thu Apr 06 2000 - 01:47:38 CEST

Original text of this message