CUBRID 函数
PHP Manual

cubrid_seq_insert

(PECL CUBRID >= 8.3.0)

cubrid_seq_insertIs used to insert an element to a sequence

说明

bool cubrid_seq_insert ( resource $conn_identifier , string $oid , string $attr_name , int $index , string $seq_element )

The cubrid_col_insert() function is used to insert an element to a sequence type attribute in a requested location.

参数

conn_identifier

Connection identifier.

oid

Oid of the instance you want to work with.

attr_name

Name of the attribute you want to insert an instance to.

index

Location of the element, you want to insert the element to (1-based).

seq_element

Content of the element that you want to insert.

返回值

TRUE, when process is successful.

FALSE, when process is unsuccessful.

范例

Example #1 cubrid_seq_insert() example

<?php
cubrid_seq_insert 
($con$oid"tel"1"02-3430-1200");
cubrid_seq_insert ($con$oid"tel"1"02-3430-1300");
?>

参见


CUBRID 函数
PHP Manual