由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 如何进行Oracle8i的Embedded SQL?
相关主题
Oracle8概 述Oracle8i, JDBC 中文配置求助
Re: Web DatabaseHow to change INTERNAL's password in Oracle8i?
Oracle for Solaris is available for FREE downloadManagment server in Oracle8i
which part to install for Oracle8i for 98?silent install of Oracle client on Windows?
请问哪儿能down Personal Oracle7 for Windows95? 谢谢Help me try Oracle on my own PC!!
Problems about runing Oracle8i[转载] Oracle发布最新版Internet数据库
primitive question.Help with Oracle8i Lite
How I choose from WebDB and Oracle8i一个装ORACLE8I的问题?
相关话题的讨论汇总
话题: sql话题: exec话题: user话题: embedded话题: pwd
进入Database版参与讨论
1 (共1页)
b****e
发帖数: 1
1
各位大侠,
我现在想用embedded SQL对一个Oracle 8i 的表进行update,
我在C文件中嵌入如下语句:
#include
#define MAX 18
exec sql begin declare section;
char user_name[30], user_pwd[10];
char etitle[10];
int esalary;
exec sql end declare section;
int main()
{
int i;
strcpy(user_name, "*****");
strcpy(user_pwd, "***");
exec sql connect :user_name identified by :user_pwd;
exec sqp declare emp cursor for
select title, salary from employee, works
where employee.eid = works.eid;
exec sql open emp;
for (i=0; i
m*****k
发帖数: 731
2
how is it now?
I also have such question.
I think u need use some preprocessor to handle the sourse code before using
gcc
failed to pass compiling.

【在 b****e 的大作中提到】
: 各位大侠,
: 我现在想用embedded SQL对一个Oracle 8i 的表进行update,
: 我在C文件中嵌入如下语句:
: #include
: #define MAX 18
: exec sql begin declare section;
: char user_name[30], user_pwd[10];
: char etitle[10];
: int esalary;
: exec sql end declare section;

1 (共1页)
进入Database版参与讨论
相关主题
一个装ORACLE8I的问题?请问哪儿能down Personal Oracle7 for Windows95? 谢谢
question about oracle 8i personal editionProblems about runing Oracle8i
oracle8i配置求助primitive question.
help! oracle8i client installation on Windows2000/NT4How I choose from WebDB and Oracle8i
Oracle8概 述Oracle8i, JDBC 中文配置求助
Re: Web DatabaseHow to change INTERNAL's password in Oracle8i?
Oracle for Solaris is available for FREE downloadManagment server in Oracle8i
which part to install for Oracle8i for 98?silent install of Oracle client on Windows?
相关话题的讨论汇总
话题: sql话题: exec话题: user话题: embedded话题: pwd