|
cubrid_seq_insertInsert an element to a sequence type column using OID Beschreibung
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. Parameter-Liste
Rückgabewerte
BeispieleBeispiel #1 cubrid_seq_insert example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(4) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
}
array(5) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
[4]=>
string(2) "44"
}
Siehe auch
|