- 论坛徽章:
- 0
|
在线求助:需要打开什么编译开关?
4. proc 预编译设置
预编译选项 设置方式 缺省值 值域 说明
代码一致性 Mode=string Oracle ansi, iso, oracle
允许使用SQLCODE Def_sqlcode=boolean No yes, no,true, false
指定预编译源文件 Iname=string *none* *none*
指定预编译头文件路径 Include=string OR include=(string, …) ( ) *none*
指定系统头文件的路径 Sys_include=stringOR Sys_include=(string, …) ( ) *none*
预编译宏定义 define=string
预编译后的代码类型 Code=string Kr_c ansi_c, cpp,kr_c
指定与字符串数组,字符串对应的类型 Char_map=string Charz charz,varchar2,charf,string
指定连接数据库的字符串(username/password [@dbname]) Userid=string *none* *none*
指定 C 编译器支持的字符集 Comp_charset=string Multi_byte multi_byte,single_byte
数据库兼容模式(Oracle) Dbms=string Native v6, v6_char,v7, native, v8
事物相关参数 Duration=string Transaction session, transaction (设置object 在cache中的时间)
错误处理 Errors=boolean Yes yes, no,true, false (是否将错误信息发送到终端)
信息处理标准 Fips=string None none, sql89, sql2, yes, no
游标控制 Hold_cursor=boolean No yes, no,true, false (control holding of cursors in the cursor cache)
控制游标cache中的游标释放 Release_cursor=boolean No yes, no,true, false (control release of cursors from cursor cache)
Allow a NULL fetch without indicator variable Unsafe_null=boolean No yes, no,true, false
是否在产生的code 中加入行号(#line) Lines=boolean No yes, no,true, false
设置字符串长度 Maxliteral=number 1024 10-1024
可以被cache的打开的最大游标数目 Maxopencursors=number 10 *none*
语言支持 nls_char, nls_local
是否使用 ORACA Oraca=boolean No yes, no,true, false
控制是否解析 non-SQL CODE Parse=string Full full, partial,none
Control flagging of select errors Select_error=boolean Yes yes, no, true, false
预编译时对SQL代码的检查方式 Sqlcheck=string Syntax(语法) none, syntax,semantics(语义), full, limited(有限的)
是否支持多线程 Threads=boolean No yes, no, true, false
允许使用varchar 结构 Varchar=boolean No yes, no,true, false
|
|