Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cubrid_close_prepare(3) [php man page]

CUBRID_CLOSE_PREPARE(3) 						 1						   CUBRID_CLOSE_PREPARE(3)

cubrid_close_prepare - Close the request handle

SYNOPSIS
bool cubrid_close_prepare (resource $req_identifier) DESCRIPTION
The cubrid_close_prepare(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_request(3). PARAMETERS
o $req_identifier -Request identifier. RETURN VALUES
Return TRUE on success. EXAMPLES
Example #1 cubrid_close_prepare(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_prepare($req); // or you can use cubrid_close_request($req) } cubrid_disconnect($con); } ?> SEE ALSO
cubrid_close_request(3). PHP Documentation Group CUBRID_CLOSE_PREPARE(3)

Check Out this Related Man Page

CUBRID_DISCONNECT(3)							 1						      CUBRID_DISCONNECT(3)

cubrid_disconnect - Close a database connection

SYNOPSIS
bool cubrid_disconnect ([resource $conn_identifier]) DESCRIPTION
The cubrid_disconnect(3) function closes the connection handle and disconnects from server. If any request handle is not closed at this point, it will be closed. It is similar to the CUBRID MySQL compatible function cubrid_close(3). PARAMETERS
o $conn_identifier -Connection identifier. RETURN VALUES
TRUE, when process is successful. FALSE, when process is unsuccessful. EXAMPLES
Example #1 cubrid_disconnect(3) example <?php $con = cubrid_connect ("localhost", 33000, "demodb"); if ($con) { echo "connected successfully"; $req = cubrid_execute( $con, "create table person(id int,name char(10))"); if ($req) { cubrid_close_request($req); cubrid_commit($con); } else { cubrid_rollback($con); } $req = cubrid_execute( $con, "insert into person values(1,'James')"); if ($req) { cubrid_close_request($req); cubrid_commit($con); } else { cubrid_rollback($con); } cubrid_disconnect($con); } ?> SEE ALSO
cubrid_close(3), cubrid_connect(3), cubrid_connect_with_url(3). PHP Documentation Group CUBRID_DISCONNECT(3)
Man Page

8 More Discussions You Might Find Interesting

1. Solaris

file wont remove

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)
Discussion started by: csaunders
8 Replies

2. UNIX for Advanced & Expert Users

Removing files

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)
Discussion started by: LiquidChild
2 Replies

3. UNIX for Advanced & Expert Users

Problem joining 2 files

Hi I have 2 files which look like File1 1245 1256 2345 2165 3245 9851 8514 6498 8547 2541 5242 and File2 (4 Replies)
Discussion started by: rochitsharma
4 Replies

4. Shell Programming and Scripting

sort files

i have a folder contails 3 types of files , ls -l -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 aml001.agl -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 aml002.agl -rw-r--r-- 1 oratest dba 6 Jul 1 15:43 aml003.agl -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 bom001.agl -rw-r--r-- 1 oratest dba 7... (4 Replies)
Discussion started by: Elii
4 Replies

5. Shell Programming and Scripting

Replacing space with T only in the 1st line of the file

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)
Discussion started by: Pratik4891
5 Replies

6. Red Hat

find . -name '*.req' -mtime +2 -exec rm {} \; not deleting files

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)
Discussion started by: rehantayyab82
5 Replies

7. Shell Programming and Scripting

Subtotal in UNIX

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)
Discussion started by: skchevva
7 Replies

8. UNIX for Beginners Questions & Answers

Ls followed by grep

Hi, On AIX 7.1 I run the following: ls -lrt | grep "Dec 18 14" -rw-r--r-- 1 user1 dba 1015 Dec 18 14:00 l21088100.req -rw-r--r-- 1 user1 dba 2491 Dec 18 14:01 l21088103.req -rw-r--r-- 1 user1 dba 1294 Dec 18 14:01 l21088102.req -rw-r--r-- ... (3 Replies)
Discussion started by: big123456
3 Replies