Query: cubrid_current_oid
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CUBRID_CURRENT_OID(3) 1 CUBRID_CURRENT_OID(3) cubrid_current_oid - Get OID of the current cursor locationSYNOPSISstring cubrid_current_oid (resource $req_identifier)DESCRIPTIONThe cubrid_current_oid(3) function is used to get the oid of the current cursor location from the query result. To use cubrid_cur- rent_oid(3), the query executed must be a updatable query, and the CUBRID_INCLUDE_OID option must be included during the query execution.PARAMETERSo $req_identifier -Request identifier.RETURN VALUESOid of current cursor location, when process is successful FALSE, when process is unsuccessful.EXAMPLESExample #1 cubrid_current_oid(3) example <?php $conn = cubrid_connect("localhost", 33000, "demodb", "dba"); $req = cubrid_execute($conn, "SELECT * FROM code", CUBRID_INCLUDE_OID); $oid = cubrid_current_oid($req); $res = cubrid_get($conn, $oid); print_r($res); cubrid_disconnect($conn); ?> The above example will output: Array ( [s_name] => X [f_name] => Mixed )SEE ALSOcubrid_execute(3). PHP Documentation Group CUBRID_CURRENT_OID(3)
Related Man Pages |
---|
cubrid_lock_read(3) - php |
cubrid_col_get(3) - php |
cubrid_drop(3) - php |
cubrid_get_class_name(3) - php |
cubrid_lock_write(3) - php |
Similar Topics in the Unix Linux Community |
---|
file wont remove |
sort files |
issue with the query output in unix |
Sort numbers which has colon (:) in between |
Generating file from sqlplus |