cubrid_seq_insert
Insert an element to a sequence type column using OID
&reftitle.description;
boolcubrid_seq_insert
resourceconn_identifier
stringoid
stringattr_name
intindex
stringseq_element
The cubrid_col_insert function is used to insert an
element to a sequence type attribute in a requested location.
&reftitle.parameters;
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.
&reftitle.returnvalues;
&true;, when process is successful.
&false;, when process is unsuccessful.
&reftitle.examples;
cubrid_seq_insert example
]]>
&example.outputs;
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"
}
]]>
&reftitle.seealso;
cubrid_seq_drop
cubrid_seq_put