📄 oci__defs_8h-source.html
字号:
<a name="l00091"></a>00091 <span class="preprocessor">#define SQLT_LAB 105 </span><span class="comment">/* label type */</span><a name="l00092"></a>00092 <span class="preprocessor">#define SQLT_OSL 106 </span><span class="comment">/* oslabel type */</span><a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="preprocessor">#define SQLT_NTY 108 </span><span class="comment">/* named object type */</span><a name="l00095"></a>00095 <span class="preprocessor">#define SQLT_REF 110 </span><span class="comment">/* ref type */</span><a name="l00096"></a>00096 <span class="preprocessor">#define SQLT_CLOB 112 </span><span class="comment">/* character lob */</span><a name="l00097"></a>00097 <span class="preprocessor">#define SQLT_BLOB 113 </span><span class="comment">/* binary lob */</span><a name="l00098"></a>00098 <span class="preprocessor">#define SQLT_BFILEE 114 </span><span class="comment">/* binary file lob */</span><a name="l00099"></a>00099 <span class="preprocessor">#define SQLT_CFILEE 115 </span><span class="comment">/* character file lob */</span><a name="l00100"></a>00100 <span class="preprocessor">#define SQLT_RSET 116 </span><span class="comment">/* result set type */</span><a name="l00101"></a>00101 <span class="preprocessor">#define SQLT_NCO 122 </span><span class="comment">/* named collection type (varray or nested table) */</span><a name="l00102"></a>00102 <span class="preprocessor">#define SQLT_VST 155 </span><span class="comment">/* OCIString type */</span><a name="l00103"></a>00103 <span class="preprocessor">#define SQLT_ODT 156 </span><span class="comment">/* OCIDate type */</span><a name="l00104"></a>00104 <a name="l00105"></a>00105 <span class="comment">/* datetimes and intervals */</span><a name="l00106"></a>00106 <span class="preprocessor">#define SQLT_DATE 184 </span><span class="comment">/* ANSI Date */</span><a name="l00107"></a>00107 <span class="preprocessor">#define SQLT_TIME 185 </span><span class="comment">/* TIME */</span><a name="l00108"></a>00108 <span class="preprocessor">#define SQLT_TIME_TZ 186 </span><span class="comment">/* TIME WITH TIME ZONE */</span><a name="l00109"></a>00109 <span class="preprocessor">#define SQLT_TIMESTAMP 187 </span><span class="comment">/* TIMESTAMP */</span><a name="l00110"></a>00110 <span class="preprocessor">#define SQLT_TIMESTAMP_TZ 188 </span><span class="comment">/* TIMESTAMP WITH TIME ZONE */</span><a name="l00111"></a>00111 <span class="preprocessor">#define SQLT_INTERVAL_YM 189 </span><span class="comment">/* INTERVAL YEAR TO MONTH */</span><a name="l00112"></a>00112 <span class="preprocessor">#define SQLT_INTERVAL_DS 190 </span><span class="comment">/* INTERVAL DAY TO SECOND */</span><a name="l00113"></a>00113 <span class="preprocessor">#define SQLT_TIMESTAMP_LTZ 232 </span><span class="comment">/* TIMESTAMP WITH LOCAL TZ */</span><a name="l00114"></a>00114 <a name="l00115"></a>00115 <span class="comment">/* cxcheng: this has been added for backward compatibility -</span><a name="l00116"></a>00116 <span class="comment"> it needs to be here because ocidfn.h can get included ahead of sqldef.h */</span><a name="l00117"></a>00117 <span class="preprocessor">#define SQLT_FILE SQLT_BFILEE </span><span class="comment">/* binary file lob */</span><a name="l00118"></a>00118 <span class="preprocessor">#define SQLT_CFILE SQLT_CFILEE</span><a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#define SQLT_BFILE SQLT_BFILEE</span><a name="l00120"></a>00120 <span class="preprocessor"></span><a name="l00121"></a>00121 <span class="preprocessor">#define SQLT_PNTY 241 </span><span class="comment">/* pl/sql representation of named types */</span><a name="l00122"></a>00122 <a name="l00123"></a>00123 <a name="l00124"></a>00124 <span class="comment">/* CHAR/NCHAR/VARCHAR2/NVARCHAR2/CLOB/NCLOB char set "form" information */</span><a name="l00125"></a>00125 <span class="preprocessor">#define SQLCS_IMPLICIT 1 </span><span class="comment">/* for CHAR, VARCHAR2, CLOB w/o a specified set */</span><a name="l00126"></a>00126 <span class="preprocessor">#define SQLCS_NCHAR 2 </span><span class="comment">/* for NCHAR, NCHAR VARYING, NCLOB */</span><a name="l00127"></a>00127 <span class="preprocessor">#define SQLCS_EXPLICIT 3 </span><span class="comment">/* for CHAR, etc, with "CHARACTER SET ..." syntax */</span><a name="l00128"></a>00128 <span class="preprocessor">#define SQLCS_FLEXIBLE 4 </span><span class="comment">/* for PL/SQL "flexible" parameters */</span><a name="l00129"></a>00129 <span class="preprocessor">#define SQLCS_LIT_NULL 5 </span><span class="comment">/* for typecheck of NULL and empty_clob() lits */</span><a name="l00130"></a>00130 <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="comment">/*-----------------------------Handle Types----------------------------------*/</span><a name="l00133"></a>00133 <span class="comment">/* handle types range from 1 - 49 */</span><a name="l00134"></a>00134 <span class="preprocessor">#define OCI_HTYPE_FIRST 1 </span><span class="comment">/* start value of handle type */</span><a name="l00135"></a>00135 <span class="preprocessor">#define OCI_HTYPE_ENV 1 </span><span class="comment">/* environment handle */</span><a name="l00136"></a>00136 <span class="preprocessor">#define OCI_HTYPE_ERROR 2 </span><span class="comment">/* error handle */</span><a name="l00137"></a>00137 <span class="preprocessor">#define OCI_HTYPE_SVCCTX 3 </span><span class="comment">/* service handle */</span><a name="l00138"></a>00138 <span class="preprocessor">#define OCI_HTYPE_STMT 4 </span><span class="comment">/* statement handle */</span><a name="l00139"></a>00139 <span class="preprocessor">#define OCI_HTYPE_BIND 5 </span><span class="comment">/* bind handle */</span><a name="l00140"></a>00140 <span class="preprocessor">#define OCI_HTYPE_DEFINE 6 </span><span class="comment">/* define handle */</span><a name="l00141"></a>00141 <span class="preprocessor">#define OCI_HTYPE_DESCRIBE 7 </span><span class="comment">/* describe handle */</span><a name="l00142"></a>00142 <span class="preprocessor">#define OCI_HTYPE_SERVER 8 </span><span class="comment">/* server handle */</span><a name="l00143"></a>00143 <span class="preprocessor">#define OCI_HTYPE_SESSION 9 </span><span class="comment">/* authentication handle */</span><a name="l00144"></a>00144 <span class="preprocessor">#define OCI_HTYPE_AUTHINFO OCI_HTYPE_SESSION </span><span class="comment">/* SessionGet auth handle */</span><a name="l00145"></a>00145 <span class="preprocessor">#define OCI_HTYPE_DIRPATH_CTX 14 </span><span class="comment">/* direct path context */</span><a name="l00146"></a>00146 <span class="preprocessor">#define OCI_HTYPE_DIRPATH_COLUMN_ARRAY 15 </span><span class="comment">/* direct path column array */</span><a name="l00147"></a>00147 <span class="preprocessor">#define OCI_HTYPE_DIRPATH_STREAM 16 </span><span class="comment">/* direct path stream */</span><a name="l00148"></a>00148 <span class="preprocessor">#define OCI_HTYPE_TRANS 10 </span><span class="comment">/* transaction handle */</span><a name="l00149"></a>00149 <span class="preprocessor">#define OCI_HTYPE_CPOOL 26 </span><span class="comment">/* connection pool handle */</span><a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="comment">/*-------------------------Descriptor Types----------------------------------*/</span><a name="l00152"></a>00152 <a name="l00153"></a>00153 <span class="preprocessor">#define OCI_DTYPE_LOB 50 </span><span class="comment">/* lob locator */</span><a name="l00154"></a>00154 <span class="preprocessor">#define OCI_DTYPE_PARAM 53 </span><span class="comment">/* a parameter descriptor obtained from ocigparm */</span><a name="l00155"></a>00155 <span class="preprocessor">#define OCI_DTYPE_FILE 56 </span><span class="comment">/* File Lob locator */</span><a name="l00156"></a>00156 <span class="preprocessor">#define OCI_DTYPE_INTERVAL_YM 62 </span><span class="comment">/* Interval year month */</span><a name="l00157"></a>00157 <span class="preprocessor">#define OCI_DTYPE_INTERVAL_DS 63 </span><span class="comment">/* Interval day second */</span><a name="l00158"></a>00158 <span class="preprocessor">#define OCI_DTYPE_DATE 65 </span><span class="comment">/* Date */</span><a name="l00159"></a>00159 <span class="preprocessor">#define OCI_DTYPE_TIME 66 </span><span class="comment">/* Time */</span><a name="l00160"></a>00160 <span class="preprocessor">#define OCI_DTYPE_TIME_TZ 67 </span><span class="comment">/* Time with timezone */</span><a name="l00161"></a>00161 <span class="preprocessor">#define OCI_DTYPE_TIMESTAMP 68 </span><span class="comment">/* Timestamp */</span><a name="l00162"></a>00162 <span class="preprocessor">#define OCI_DTYPE_TIMESTAMP_TZ 69 </span><span class="comment">/* Timestamp with timezone */</span><a name="l00163"></a>00163 <span class="preprocessor">#define OCI_DTYPE_TIMESTAMP_LTZ 70 </span><span class="comment">/* Timestamp with local tz */</span><a name="l00164"></a>00164 <span class="preprocessor">#</span><a name="l00165"></a>00165 <span class="preprocessor"></span><span class="comment">/*---------------------------------------------------------------------------*/</span><a name="l00166"></a>00166 <a name="l00167"></a>00167 <span class="comment">/*--------------------------------LOB types ---------------------------------*/</span><a name="l00168"></a>00168 <span class="preprocessor">#define OCI_TEMP_BLOB 1 </span><span class="comment">/* LOB type - BLOB ------------------ */</span><a name="l00169"></a>00169 <span class="preprocessor">#define OCI_TEMP_CLOB 2 </span><span class="comment">/* LOB type - CLOB ------------------ */</span><a name="l00170"></a>00170 <span class="comment">/*---------------------------------------------------------------------------*/</span><a name="l00171"></a>00171 <a name="l00172"></a>00172 <span class="comment">/*--------------------------Attribute Types----------------------------------*/</span><a name="l00173"></a>00173 <a name="l00174"></a>00174 <a name="l00175"></a>00175 <span class="preprocessor">#define OCI_ATTR_OBJECT 2 </span><span class="comment">/* is the environment initialized in object mode */</span><a name="l00176"></a>00176 <span class="preprocessor">#define OCI_ATTR_ENV 5 </span><span class="comment">/* the environment handle */</span><a name="l00177"></a>00177 <span class="preprocessor">#define OCI_ATTR_SERVER 6 </span><span class="comment">/* the server handle */</span><a name="l00178"></a>00178 <span class="preprocessor">#define OCI_ATTR_SESSION 7 </span><span class="comment">/* the user session handle */</span><a name="l00179"></a>00179 <span class="preprocessor">#define OCI_ATTR_TRANS 8 </span><span class="comment">/* the transaction handle */</span><a name="l00180"></a>00180 <span class="preprocessor">#define OCI_ATTR_ROW_COUNT 9 </span><span class="comment">/* the rows processed so far */</span><a name="l00181"></a>00181 <span class="preprocessor">#define OCI_ATTR_PREFETCH_ROWS 11 </span><span class="comment">/* sets the number of rows to prefetch */</span><a name="l00182"></a>00182 <span class="preprocessor">#define OCI_ATTR_NESTED_PREFETCH_ROWS 12 </span><span class="comment">/* the prefetch rows of nested table*/</span><a name="l00183"></a>00183 <span class="preprocessor">#define OCI_ATTR_PREFETCH_MEMORY 13 </span><span class="comment">/* memory limit for rows fetched */</span><a name="l00184"></a>00184 <span class="preprocessor">#define OCI_ATTR_NESTED_PREFETCH_MEMORY 14 </span><span class="comment">/* memory limit for nested rows */</span><a name="l00185"></a>00185 <span class="preprocessor">#define OCI_ATTR_PDSCL 16 </span><span class="comment">/* packed decimal scale */</span><a name="l00186"></a>00186 <span class="preprocessor">#define OCI_ATTR_FSPRECISION OCI_ATTR_PDSCL </span><a name="l00187"></a>00187 <span class="preprocessor"></span> <span class="comment">/* fs prec for datetime data types */</span><a name="l00188"></a>00188 <span class="preprocessor">#define OCI_ATTR_PDPRC 17 </span><span class="comment">/* packed decimal format */</span><a name="l00189"></a>00189 <span class="preprocessor">#define OCI_ATTR_LFPRECISION OCI_ATTR_PDPRC </span><a name="l00190"></a>00190 <span class="preprocessor"></span> <span class="comment">/* fs prec for datetime data types */</span><a name="l00191"></a>00191 <a name="l00192"></a>00192 <span class="preprocessor">#define OCI_ATTR_PARAM_COUNT 18 </span><span class="comment">/* number of column in the select list */</span><a name="l00193"></a>00193 <span class="preprocessor">#define OCI_ATTR_ROWID 19 </span><span class="comment">/* the rowid */</span><a name="l00194"></a>00194 <span class="preprocessor">#define OCI_ATTR_CHARSET 20 </span><span class="comment">/* the character set value */</span><a name="l00195"></a>00195 <span class="preprocessor">#define OCI_ATTR_USERNAME 22 </span><span class="comment">/* username attribute */</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -