downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cubrid_seq_insert> <cubrid_send_glo
Last updated: Fri, 24 Sep 2010

view this page in

cubrid_seq_drop

(PECL CUBRID >= 8.3.0)

cubrid_seq_dropIs used to delete an element

Description

int cubrid_seq_drop ( resource $conn_identifier , string $oid , string $attr_name , int $index )

The cubrid_seq_drop() function is used to delete an element you request from the given sequence type attribute in the database.

Parameters

conn_identifier

Connection identifier.

oid

Oid of the instance you want to work with.

attr_name

Name of the attribute that you want to delete an element from.

index

Index of the element that you want to delete (1-based).

Return Values

TRUE, when process is successful.

FALSE, when process is unsuccessful.

Examples

Example #1 cubrid_seq_drop() example

<?php
$elems 
cubrid_col_get ($con$oid"style");
$i 1;
while (list (
$key$val) = each($elems)) {
if (
$val == "1") {
    echo 
$val;
    
cubrid_seq_drop ($con$oid"style"$i);
  }
  
$i++;
}
?>

See Also



add a note add a note User Contributed Notes
cubrid_seq_drop
There are no user contributed notes for this page.

cubrid_seq_insert> <cubrid_send_glo
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites