diff options
Diffstat (limited to 'tests/create_type.inc')
-rw-r--r-- | tests/create_type.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/create_type.inc b/tests/create_type.inc new file mode 100644 index 0000000000..e23f7cb903 --- /dev/null +++ b/tests/create_type.inc @@ -0,0 +1,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); + } + +?> |