📄 oci.h
字号:
#define OCIIntervalCheck ociint09_Check #define OCIIntervalAssign ociint10_Assign #define OCIIntervalGetYearMonth ociint11_GetYearMonth#define OCIIntervalSetYearMonth ociint12_SetYearMonth#define OCIIntervalGetDaySecond ociint13_GetDaySecond#define OCIIntervalSetDaySecond ociint14_SetDaySecond#define OCIIntervalFromNumber ociint15_FromNumber#define OCIIntervalFromTZ ociint16_FromTZ #define OCIFormatInit ocixs01_Init#define OCIFormatString ocixs02_Format#define OCIFormatTerm ocixs03_Term#define OCIFormatTUb1 ocixs04_TUb1#define OCIFormatTUb2 ocixs05_TUb2#define OCIFormatTUb4 ocixs06_TUb4#define OCIFormatTUword ocixs07_TUword#define OCIFormatTUbig_ora ocixs08_TUbig_ora#define OCIFormatTSb1 ocixs09_TSb1#define OCIFormatTSb2 ocixs10_TSb2#define OCIFormatTSb4 ocixs11_TSb4#define OCIFormatTSword ocixs12_TSword#define OCIFormatTSbig_ora ocixs13_TSbig_ora#define OCIFormatTEb1 ocixs14_TEb1#define OCIFormatTEb2 ocixs15_TEb2#define OCIFormatTEb4 ocixs16_TEb4#define OCIFormatTEword ocixs17_TEword#define OCIFormatTChar ocixs18_TChar#define OCIFormatTText ocixs19_TText#define OCIFormatTDouble ocixs20_TDouble#define OCIFormatTDvoid ocixs21_TDvoid#define OCIFormatTEnd ocixs22_TEnd#define OCIFileInit ocifinit#define OCIFileTerm ocifterm#define OCIFileOpen ocifopen#define OCIFileClose ocifclose#define OCIFileRead ocifread#define OCIFileWrite ocifwrite#define OCIFileSeek ocifseek#define OCIFileExists ocifexists#define OCIFileGetLength ocifglen#define OCIFileFlush ocifflush/* OCIThread short name */#define OCIThreadProcessInit ocitt01_ProcessInit#define OCIThreadInit ocitt02_Init#define OCIThreadTerm ocitt03_Term#define OCIThreadIsMulti ocitt04_IsMulti#define OCIThreadMutexInit ocitt05_MutexInit#define OCIThreadMutexDestroy ocitt06_MutexDestroy#define OCIThreadMutexAcquire ocitt07_MutexAcquire#define OCIThreadMutexRelease ocitt08_MutexRelease#define OCIThreadKeyInit ocitt09_KeyInit#define OCIThreadKeyDestroy ocitt10_KeyDestroy#define OCIThreadKeyGet ocitt11_KeyGet#define OCIThreadKeySet ocitt12_KeySet#define OCIThreadIdInit ocitt13_IdInit#define OCIThreadIdDestroy ocitt14_IdDestroy#define OCIThreadIdSet ocitt15_IdSet#define OCIThreadIdSetNull ocitt16_IdSetNull#define OCIThreadIdGet ocitt17_IdGet#define OCIThreadIdSame ocitt18_IdSame#define OCIThreadIdNull ocitt19_IdNull#define OCIThreadHndInit ocitt20_HndInit#define OCIThreadHndDestroy ocitt21_HndDestroy#define OCIThreadCreate ocitt22_Create#define OCIThreadJoin ocitt23_Join#define OCIThreadClose ocitt24_Close#define OCIThreadHandleGet ocitt25_HandleGet/* Translation between the old and new datatypes */#define OCISession ociusrh#define OCIBind ocibndh#define OCIDescribe ocidsch#define OCIDefine ocidfnh#define OCIEnv ocienvh#define OCIError ocierrh#define OCICPool ocicpool#define OCILob ocilobd#define OCILobLength ocillen#define OCILobMode ocilmo#define OCILobOffset ociloff#define OCILobLocator ocilobd#define OCIBlobLocator ociblobl#define OCIClobLocator ociclobl#define OCIBFileLocator ocibfilel#define OCIParam ocipard#define OCIResult ocirstd#define OCISnapshot ocisnad#define OCIServer ocisrvh#define OCIStmt ocistmh#define OCISvcCtx ocisvch#define OCITrans ocitxnh#define OCICallbackInBind ocibicfp#define OCICallbackOutBind ocibocfp#define OCICallbackDefine ocidcfp#define OCICallbackLobRead ocilrfp#define OCICallbackLobWrite ocilwfp#define OCISecurity ociossh#define OCIComplexObject ocicorh#define OCIComplexObjectComp ocicord#define OCIRowid ociridd#define OCIAQDeq ociaqdeq #define OCIAQEnq ociaqenq#define OCIConnectionPoolCreate ociconpc#define OCIConnectionPoolDestroy ociconpd#define OCIEnvCreate ocienvct#define OCILobAssign ociloass#define OCILobCharSetForm ocilocfm#define OCILobCharSetId ocilocid#define OCILobDisableBuffering ocilodbf#define OCILobEnableBuffering ociloebf#define OCILobFileClose ocilofcl#define OCILobFileCloseAll ocilofca#define OCILobFileExists ocilofex#define OCILobFileGetName ocilofgn#define OCILobFileIsOpen ocifiopn#define OCILobFileOpen ocilofop#define OCILobFileSetName ocilofsn#define OCILobFlushBuffer ocilofbf#define OCILobIsEqual ociloieq#define OCILobLoadFromFile ocilolff#define OCILobLocatorIsInit ocilolii#define OCILobLocatorAssign ocilolas#define OCILogon ocilogon#define OCILogon2 ocilgon2#define OCILogoff ocilgoff#endif /* ifdef SLSHORTNAME *//*--------------------------------------------------------------------------- PUBLIC TYPES AND CONSTANTS ---------------------------------------------------------------------------*//*-----------------------------Handle Types----------------------------------*/ /* handle types range from 1 - 49 */#define OCI_HTYPE_FIRST 1 /* start value of handle type */#define OCI_HTYPE_ENV 1 /* environment handle */#define OCI_HTYPE_ERROR 2 /* error handle */#define OCI_HTYPE_SVCCTX 3 /* service handle */#define OCI_HTYPE_STMT 4 /* statement handle */#define OCI_HTYPE_BIND 5 /* bind handle */#define OCI_HTYPE_DEFINE 6 /* define handle */#define OCI_HTYPE_DESCRIBE 7 /* describe handle */#define OCI_HTYPE_SERVER 8 /* server handle */#define OCI_HTYPE_SESSION 9 /* authentication handle */#define OCI_HTYPE_TRANS 10 /* transaction handle */#define OCI_HTYPE_COMPLEXOBJECT 11 /* complex object retrieval handle */#define OCI_HTYPE_SECURITY 12 /* security handle */#define OCI_HTYPE_SUBSCRIPTION 13 /* subscription handle */#define OCI_HTYPE_DIRPATH_CTX 14 /* direct path context */#define OCI_HTYPE_DIRPATH_COLUMN_ARRAY 15 /* direct path column array */#define OCI_HTYPE_DIRPATH_STREAM 16 /* direct path stream */#define OCI_HTYPE_PROC 17 /* process handle */#define OCI_HTYPE_DIRPATH_FN_CTX 18 /* direct path function context */#define OCI_HTYPE_DIRPATH_FN_COL_ARRAY 19 /* dp object column array */#define OCI_HTYPE_XADSESSION 20 /* access driver session */#define OCI_HTYPE_XADTABLE 21 /* access driver table */#define OCI_HTYPE_XADFIELD 22 /* access driver field */#define OCI_HTYPE_XADGRANULE 23 /* access driver granule */#define OCI_HTYPE_XADRECORD 24 /* access driver record */#define OCI_HTYPE_XADIO 25 /* access driver I/O */#define OCI_HTYPE_CPOOL 26 /* connection pool handle */#define OCI_HTYPE_LAST 26 /* last value of a handle type *//*---------------------------------------------------------------------------*//*-------------------------Descriptor Types----------------------------------*/ /* descriptor values range from 50 - 255 */#define OCI_DTYPE_FIRST 50 /* start value of descriptor type */#define OCI_DTYPE_LOB 50 /* lob locator */#define OCI_DTYPE_SNAP 51 /* snapshot descriptor */#define OCI_DTYPE_RSET 52 /* result set descriptor */#define OCI_DTYPE_PARAM 53 /* a parameter descriptor obtained from ocigparm */#define OCI_DTYPE_ROWID 54 /* rowid descriptor */#define OCI_DTYPE_COMPLEXOBJECTCOMP 55 /* complex object retrieval descriptor */#define OCI_DTYPE_FILE 56 /* File Lob locator */#define OCI_DTYPE_AQENQ_OPTIONS 57 /* enqueue options */#define OCI_DTYPE_AQDEQ_OPTIONS 58 /* dequeue options */#define OCI_DTYPE_AQMSG_PROPERTIES 59 /* message properties */#define OCI_DTYPE_AQAGENT 60 /* aq agent */#define OCI_DTYPE_LOCATOR 61 /* LOB locator */#define OCI_DTYPE_INTERVAL_YM 62 /* Interval year month */#define OCI_DTYPE_INTERVAL_DS 63 /* Interval day second */#define OCI_DTYPE_AQNFY_DESCRIPTOR 64 /* AQ notify descriptor */#define OCI_DTYPE_DATE 65 /* Date */#define OCI_DTYPE_TIME 66 /* Time */#define OCI_DTYPE_TIME_TZ 67 /* Time with timezone */#define OCI_DTYPE_TIMESTAMP 68 /* Timestamp */#define OCI_DTYPE_TIMESTAMP_TZ 69 /* Timestamp with timezone */#define OCI_DTYPE_TIMESTAMP_LTZ 70 /* Timestamp with local tz */#define OCI_DTYPE_UCB 71 /* user callback descriptor */#define OCI_DTYPE_SRVDN 72 /* server DN list descriptor */#define OCI_DTYPE_SIGNATURE 73 /* signature */#define OCI_DTYPE_LAST 73 /* last value of a descriptor type *//*---------------------------------------------------------------------------*//*--------------------------------LOB types ---------------------------------*/#define OCI_TEMP_BLOB 1 /* LOB type - BLOB ------------------ */#define OCI_TEMP_CLOB 2 /* LOB type - CLOB ------------------ *//*---------------------------------------------------------------------------*//*-------------------------Object Ptr Types----------------------------------*/#define OCI_OTYPE_NAME 1 /* object name */#define OCI_OTYPE_REF 2 /* REF to TDO */#define OCI_OTYPE_PTR 3 /* PTR to TDO *//*---------------------------------------------------------------------------*//*=============================Attribute Types===============================*//* Note: All attributes are global. New attibutes should be added to the end of the list. Before you add an attribute see if an existing one can be used for your handle. If you see any holes please use the holes first. *//*===========================================================================*/#define OCI_ATTR_FNCODE 1 /* the OCI function code */#define OCI_ATTR_OBJECT 2 /* is the environment initialized in object mode */#define OCI_ATTR_NONBLOCKING_MODE 3 /* non blocking mode */#define OCI_ATTR_SQLCODE 4 /* the SQL verb */#define OCI_ATTR_ENV 5 /* the environment handle */#define OCI_ATTR_SERVER 6 /* the server handle */#define OCI_ATTR_SESSION 7 /* the user session handle */#define OCI_ATTR_TRANS 8 /* the transaction handle */#define OCI_ATTR_ROW_COUNT 9 /* the rows processed so far */#define OCI_ATTR_SQLFNCODE 10 /* the SQL verb of the statement */#define OCI_ATTR_PREFETCH_ROWS 11 /* sets the number of rows to prefetch */#define OCI_ATTR_NESTED_PREFETCH_ROWS 12 /* the prefetch rows of nested table*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -