⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orl.h

📁 SQLAPI C/C++ 连接Oracle 数据库!
💻 H
📖 第 1 页 / 共 5 页
字号:
#else /* ANSI C */sword OCINumberIsInt(    OCIError *err, CONST OCINumber *number,                          boolean *result    );#endif/*   NAME: OCINumberIsInt - OCINumber Is Integer value.   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - number to be tested        result (OUT) - set to TRUE if integer value else FALSE   DESCRIPTION:        Test if the given number is an integer value.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if            'number' or 'result' is null *//*-------------------------- OCINumberAssign --------------------------------*/ #if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberAssign(/*_ OCIError *err, CONST OCINumber *from,                          OCINumber *to _*/);#else /* ANSI C */sword OCINumberAssign(    OCIError *err, CONST OCINumber *from,                          OCINumber *to    );#endif/*   NAME: OCINumberAssign - OCINumber ASsiGn number   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        from (IN) - number to be assigned        to (OUT) - number copied into   DESCRIPTION:        Assign number 'from' to 'to'.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          'from' or 'to' is null *//*----------------------------- OCINumberAbs --------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberAbs(/*_ OCIError *err, CONST OCINumber *number,                       OCINumber *result _*/);#else /* ANSI C */sword OCINumberAbs(    OCIError *err, CONST OCINumber *number,                       OCINumber *result    );#endif/*   NAME: OCINumberAbs - OCINumber compute ABSolute value   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - input number        result (OUT) - output which will contain the absolue value of the                input number   DESCRIPTION:        Computes the absolute value of an Oracle number.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*---------------------------- OCINumberCeil --------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberCeil(/*_ OCIError *err, CONST OCINumber *number,                        OCINumber *result _*/);#else /* ANSI C */sword OCINumberCeil(    OCIError *err, CONST OCINumber *number,                        OCINumber *result    );#endif/*   NAME: OCINumberCeil - OCINumber compute the CEiL value of an Oracle number   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - input number        result (OUT) - output which will contain the ceil value of the                input number   DESCRIPTION:        Computes the ceil value of an Oracle number.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*--------------------------- OCINumberFloor --------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberFloor(/*_ OCIError *err, CONST OCINumber *number,                          OCINumber *result _*/);#else /* ANSI C */sword OCINumberFloor(    OCIError *err, CONST OCINumber *number,                          OCINumber *result    );#endif/*   NAME: OCINumberFloor - OCINumber compute the FLooR value of an Oracle number   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - input number        result (OUT) - output which will contain the floor value of the                input number   DESCRIPTION:        Computes the floor value of an Oracle number.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*----------------------------- OCINumberSqrt -------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberSqrt(/*_ OCIError *err, CONST OCINumber *number,                        OCINumber *result _*/);#else /* ANSI C */sword OCINumberSqrt(    OCIError *err, CONST OCINumber *number,                        OCINumber *result    );#endif/*   NAME: OCINumberSqrt - OCINumber compute the SQuare Root of an Oracle number   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - input number        result (OUT) - output which will contain the square root of the                input number   DESCRIPTION:        Computes the square root of an Oracle number.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null          'number' is negative *//*--------------------------- OCINumberTrunc --------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberTrunc(/*_ OCIError *err, CONST OCINumber *number,                          sword decplace, OCINumber *result _*/);#else /* ANSI C */sword OCINumberTrunc(    OCIError *err, CONST OCINumber *number,                          sword decplace, OCINumber *result    );#endif/*   NAME: OCINumberTrunc - OCINumber TRUncate an Oracle number at a 			  specified decimal place   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - input number        decplace (IN) - number of decimal digits to the right of the                 decimal point to truncate at. Negative values are allowed.        result (OUT) - output of truncation   DESCRIPTION:        Truncate an Oracle number at a specified decimal place   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*----------------------------- OCINumberPower ------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberPower(/*_ OCIError *err, CONST OCINumber *base,                          CONST OCINumber *number, OCINumber *result _*/);#else /* ANSI C */sword OCINumberPower(    OCIError *err, CONST OCINumber *base,                          CONST OCINumber *number, OCINumber *result    );#endif/*   NAME: OCINumberPower - OCINumber takes an arbitary Base to an                           arbitary Power   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        base (IN) - base of the exponentiation        number (IN) - exponent to which the base is to be raised        result (OUT) - output of exponentiation   DESCRIPTION:        Takes an arbitary base to an arbitary power.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*--------------------------- OCINumberRound --------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberRound(/*_ OCIError *err, CONST OCINumber *number,                         sword decplace, OCINumber *result _*/);#else /* ANSI C */sword OCINumberRound(    OCIError *err, CONST OCINumber *number,                         sword decplace, OCINumber *result    );#endif/*   NAME: OCINumberRound - OCINumber ROUnds an Oracle number to a specified                   decimal place   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - round this number and return result in 'result'        decplace (IN) - number of decimal digits to the right of the                 decimal point to round to. Negative values are allowed.        result (OUT) - output of rounding   DESCRIPTION:        Rounds an Oracle number to a specified decimal place   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*--------------------------- OCINumberPrec ---------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberPrec(/*_ OCIError *err, CONST OCINumber *number,                         eword nDigs, OCINumber *result _*/);#else /* ANSI C */sword OCINumberPrec(    OCIError *err, CONST OCINumber *number,                         eword nDigs, OCINumber *result    );#endif/*   NAME: OCINumberPrec - Rounds an Oracle number to a specified number of                         decimal digits.   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - number for which to set precision.	nDig   (IN) - number of decimal digits desired in the result.        result (OUT) - result.   DESCRIPTION:        Performs a floating point round with respect to the number	of digits.   RETURNS:        OCI_SUCCESS if the function completes successfully.        OCI_INVALID_HANDLE if 'err' is NULL.        OCI_ERROR if          any of the number arguments is null *//*----------------------------- OCINumberSin --------------------------------*/#if !defined(__STDC__) && !defined(__cplusplus) /* K&R C - not ANSI C */sword OCINumberSin(/*_ OCIError *err, CONST OCINumber *number,                       OCINumber *result _*/);#else /* ANSI C */sword OCINumberSin(    OCIError *err, CONST OCINumber *number,                       OCINumber *result    );#endif/*   NAME: OCINumberSin - OCINumber takes the SINe of an Oracle number   PARAMETERS:        err (IN/OUT) - error handle. If there is an error, it is                recorded in 'err' and this function returns OCI_ERROR.                The error recorded in 'err' can be retrieved by calling                OCIErrorGet().        number (IN) - argument of the sine in radians        result (OUT) - result of the sine   DESCRIPTION:        Takes the sine in radians of an Oracle number.   RETURNS:        OC

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -