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