xref: /PHP-7.0/ext/oci8/tests/create_type.inc (revision 3756201e)
1<?php
2
3    if ($c) {
4        $ora_sql = "DROP TYPE
5                                ".$type_name."
6                   ";
7
8        $statement = OCIParse($c,$ora_sql);
9        @OCIExecute($statement);
10
11        $ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER(11)";
12
13        $statement = OCIParse($c,$ora_sql);
14        OCIExecute($statement);
15    }
16
17?>
18