[Dev-C++] Fwd: [cpp-l] Embedded SQL in C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: THAMAE <m_t...@ya...> - 2004-07-08 12:53:47
|
Hi there! I am writting a programm that interfaces between C++ and Ms Access and I am trying embed some SQL statements. how do I declare the host variable? I came across the following sample to declare host variables but it does not work: EXEC SQL BEGIN DECLARE SECTION; char no[10], char name[15]; double value; EXEC SQL END DECLARE SECTION; I get the following errors: EXEC undelared, parse error before END. I aapriciate your help. THAMAE --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! |