#include
exec sql begin declare section;
char userid[11]="hr/oracle";
char std_name[10];
int std_number;
int dept_number;
exec sql end declare section;
char temp[3];
void sql_error();
#include
main()
exec sql close gxj_cursor;
exec sql commit work release;
exit(0);
}void
sql_error(msg)
char * msg;
pro c初學2 簡單多執行緒例子
name proc mul.pc 預編譯條件 mode oracle parse full 利用多執行緒,更新表中記錄 每個執行緒擁有單獨的上下文環境 表結構 create table accounts account number 36 balance 36,2 include include i...
使用proc介面例子
proc.c的檔案內容為 include include include static int hello proc show struct seq file m,void v ssize t test proc write struct file file,const char user buff...
Proc中單獨檔案編譯 make 檔案例子
oralibpath l oracle product 9.2.0 lib oralib lclntsh lnbeq9 lnhost9 lnus9 lnldap9 lldapclnt9 lnsslb9 lnoname9 lntcp9 lntcps9 lnsslb9 lntcp9 lntns9 ldl...