CUBRID 函数
PHP Manual

cubrid_seq_drop

(PECL CUBRID >= 8.3.0)

cubrid_seq_dropIs used to delete an element

说明

bool 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.

参数

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).

返回值

TRUE, when process is successful.

FALSE, when process is unsuccessful.

范例

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++;
}
?>

参见


CUBRID 函数
PHP Manual