1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php if ($c) { $ora_sql = "DROP TYPE ".$type_name." "; $statement = OCIParse($c,$ora_sql); @OCIExecute($statement); $ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER(11)"; $statement = OCIParse($c,$ora_sql); OCIExecute($statement); } ?>