Back to index

php5  5.3.10
create_type.inc
Go to the documentation of this file.
00001 <?php
00002 
00003     if ($c) {
00004         $ora_sql = "DROP TYPE
00005                                 ".$type_name."
00006                    ";
00007 
00008         $statement = OCIParse($c,$ora_sql);
00009         @OCIExecute($statement);
00010 
00011         $ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER(11)";
00012                       
00013         $statement = OCIParse($c,$ora_sql);
00014         OCIExecute($statement);
00015     }
00016 
00017 ?>