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_at_nnrp1.deja.com>
[Quoted] Using in SQL the following command
Using in Pro*C/C++ he following code
Date: Tue, 12 Oct 1999 10:43:16 GMT
Message-ID: <7tv3c3$gpe$1_at_nnrp1.deja.com>
Hi,
[Quoted] 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.
-
[Quoted]
- Oracle 8.0.5
- Pro*C/C++ : Release 8.0.5.0.0
- SunOS 5.6
What is wrong? Thanks in advance, Alex
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Oct 12 1999 - 12:43:16 CEST