PHP » GoLang |
login |
register |
about
|
GoLang db2_server_info
request it (356)
GoLang replacement for PHP's db2_server_info
[edit | history]
db2_server_info(PECL ibm_db2 >= 1.1.1) db2_server_info — Returns an object with properties that describe the DB2 database server Description
object db2_server_info
( resource
$connection
)This function returns an object with read-only properties that return information about the IBM DB2, Cloudscape, or Apache Derby database server. The following table lists the database server properties:
Parameters
Return Values
Returns an object on a successful call. Returns Examples
Example #1 A db2_server_info() example To retrieve information about the server, you must pass a valid database connection resource to db2_server_info().
<?php The above example will output: DBMS_NAME: string(9) "DB2/LINUX" DBMS_VER: string(10) "08.02.0000" DB_CODEPAGE: int(1208) DB_NAME: string(6) "SAMPLE" INST_NAME: string(8) "db2inst1" SPECIAL_CHARS: string(2) "@#" KEYWORDS: int(179) DFT_ISOLATION: string(2) "CS" ISOLATION_OPTION: string(12) "UR CS RS RR " SQL_CONFORMANCE: string(7) "FIPS127" PROCEDURES: bool(true) IDENTIFIER_QUOTE_CHAR: string(1) """ LIKE_ESCAPE_CLAUSE: bool(true) MAX_COL_NAME_LEN: int(30) MAX_ROW_SIZE: int(32677) MAX_IDENTIFIER_LEN: int(18) MAX_INDEX_SIZE: int(1024) MAX_PROC_NAME_LEN: int(128) MAX_SCHEMA_NAME_LEN: int(30) MAX_STATEMENT_LEN: int(2097152) MAX_TABLE_NAME_LEN: int(128) NON_NULLABLE_COLUMNS: bool(true) See Also
|
more
Recently updated
more
Most requested
|