CUBRID_CLOSE_REQUEST(3) 1 CUBRID_CLOSE_REQUEST(3)cubrid_close_request - Close the request handleSYNOPSIS
bool cubrid_close_request (resource $req_identifier)
DESCRIPTION
The cubrid_close_request(3) function closes the request handle given by the $req_identifier argument, and releases the memory region
related to the handle. It is an alias of cubrid_close_prepare(3).
PARAMETERS
o $req_identifier
-Request identifier.
RETURN VALUES
Return TRUE on success.
EXAMPLES
Example #1
cubrid_close_request(3) example
<?php
$con = cubrid_connect ("localhost", 33000, "demodb", "dba", "");
if ($con) {
echo "connected successfully";
$req = cubrid_execute ( $con, "select * from members",
CUBRID_INCLUDE_OID | CUBRID_ASYNC);
if ($req) {
while ( list ($id, $name) = cubrid_fetch ($req) ){
echo $id;
echo $name;
}
cubrid_close_request($req); // or you can use cubrid_close_prepare($req)
}
cubrid_disconnect($con);
}
?>
SEE ALSO cubrid_close_prepare(3).
PHP Documentation Group CUBRID_CLOSE_REQUEST(3)
Check Out this Related Man Page
CUBRID_CLOSE(3) 1 CUBRID_CLOSE(3)cubrid_close - Close CUBRID connectionSYNOPSIS
bool cubrid_close ([resource $conn_identifier])
DESCRIPTION
The cubrid_close(3) function ends the transaction currently in process, closes the connection handle and disconnects from server. If there
is any request handles not closed yet at this point, they will be closed. It is similar to the CUBRID function cubrid_disconnect(3).
PARAMETERS
o $conn_identifier
-The CUBRID connection identifier. If the connection identifier is not specified, the last connection opened by cubrid_connect(3)
is assumed.
RETURN VALUES
TRUE, when process is successful.
FALSE, when process is unsuccessful.
EXAMPLES
Example #1
cubrid_close(3) example
<?php
$con = cubrid_connect ("localhost", 33000, "demodb");
if ($con) {
echo "connected successfully";
$req = cubrid_execute ( $con, "insert into person values(1,'James')");
if ($req) {
cubrid_close_request ($req);
cubrid_commit ($con);
} else {
cubrid_rollback ($con);
}
cubrid_close ($con);
}
?>
SEE ALSO cubrid_disconnect(3), cubrid_connect(3), cubrid_connect_with_url(3).
PHP Documentation Group CUBRID_CLOSE(3)
check this out
ls -l nmo*
-rwsr-s--- 1 root dba 19312 Mar 31 14:44 nmo
-rw-r----- 1 oracle dba 0 May 19 2004 nmo0
-rwxr-x--- 1 oracle dba 16512 Mar 31 14:44 nmocat
# rm nmo0
nmo0: No such file or directory
# id
uid=0(root) gid=1(other)
what... (8 Replies)
Hi,
It seems someone has created files instead of actually running the commands, as below:
-rw-r--r-- 1 oracle92 dba 0 Mar 2 11:19 PRIML_070302.ok
-rw-r--r-- 1 oracle92 dba 557 Mar 2 11:20 PRIVH_070302.dat
-rw-r--r-- 1 oracle92 dba 0 Mar 12 11:57... (2 Replies)
Hi Masters ,
I have a file whose header is like
HDRCZECM8CZCM000000881 SVR00120100401160828+020020100401160828+0200CZK
There is a space between 1 and S ,my req is to chng the space to T
I tried echo `head -1 CDCZECM8CZCM000000881` | sed 's/ /T/'
it works ,but how can I modify in... (5 Replies)
i want to remove *.req files from directory
/opt/FFCL8001/oracle/inst/apps/FFCL8001_lhrho/logs/appl/conc/log
i executed command find . -name '*.req' -mtime +2 -exec rm {} \;
but it is running since hours and free space in /opt is same as old 7.4 GB .
why it is not removing files ? (5 Replies)
Please help me on below req
Data in file
ARIZONA HCPAZ 47
ARIZONA HCPAZCONT 3056
ARIZONA AZA 20
CALIFORNIA HC06 878
CALIFORNIA LC04 51
CALIFORNIA LC06 4039
CALIFORNIA HCPCACONT 4960
THE CAMDEN GROUP CAM 83... (7 Replies)