cubrid_drop
Delete an instance using OID
&reftitle.description;
boolcubrid_drop
resourceconn_identifier
stringoid
The cubrid_drop function is used to delete an
instance from database by using oid.
&reftitle.parameters;
conn_identifier
Connection identifier.
oid
Oid of the instance that you want to delete.
&reftitle.returnvalues;
&true;, when process is successful.
&false;, when process is unsuccessful.
&reftitle.examples;
cubrid_drop example
]]>
&example.outputs;
string(1) "1"
["b"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
["c"]=>
array(4) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
}
["d"]=>
string(10) "a "
}
--- After Drop: ---
array(4) {
["a"]=>
string(1) "2"
["b"]=>
array(3) {
[0]=>
string(1) "4"
[1]=>
string(1) "5"
[2]=>
string(1) "7"
}
["c"]=>
array(4) {
[0]=>
string(2) "44"
[1]=>
string(2) "55"
[2]=>
string(2) "66"
[3]=>
string(3) "666"
}
["d"]=>
string(10) "b "
}
]]>
&reftitle.seealso;
cubrid_is_instance