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: ProC question

Re: ProC question

From: Federico Jose Buldin <buldin_at_fzi.de>
Date: 1997/05/25
Message-ID: <338844D4.41C67EA6@fzi.de>#1/1

Hi Try so

EXEC SQL BEGIN DECLARE SECTION;
    varchar fecha [10];
EXEC SQL END DECLARE SECTION;

.
.
.


EXEC SQL SELECT <field name> INTO :fecha FROM <database> WHERE ....;

printf("fecha mia %s \n",fecha);

.
.
.

maybe it is what you want.

bye Federico

Andrea Pallotta wrote:
>
> Hi everybody!!
>
> The question seems to be simple for you...
>
> In a C program with SQL calls, i have a variable to be filled with the
> content of a column. The column is a date, of course.
>
> Could you help me, with an example, to do this??
>
> Thanks in advance
>
> --
> Andrea Pallotta
> DIGITAL Italy
> Gruppo di Sviluppo ( Development Team )
 

-- 
Federico Jose Buldin                   		e-mail: buldin_at_fzi.de
Received on Sun May 25 1997 - 00:00:00 CDT

Original text of this message

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