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

Home -> Community -> Usenet -> c.d.o.server -> SELECT and Pro*C/C++

SELECT and Pro*C/C++

From: Alex Vinokur <alexander.vinokur_at_telrad.co.il>
Date: Tue, 12 Oct 1999 10:43:16 GMT
Message-ID: <7tv3c3$gpe$1@nnrp1.deja.com>

Hi,



Using in SQL the following command

        SELECT * FROM FFF; I see on screen what I want to see
(all rows of table FFF);




Using in Pro*C/C++ he following code
        RWCString tmp_str = "SELECT * FROM FFF";
        EXEC SQL BEGIN DECLARE SECTION;
        const char* execute_line = ((const char*)tmp_str);
        EXEC SQL END DECLARE SECTION;
        EXEC SQL EXECUTE IMMEDIATE : execute_line;

I give nothing on screen.



        What is wrong?
        Thanks in advance,
        Alex



Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Oct 12 1999 - 05:43:16 CDT

Original text of this message

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