diff options
author | Christopher Jones <sixd@php.net> | 2009-10-06 23:26:39 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2009-10-06 23:26:39 +0000 |
commit | 44ba34c26f6dd195e4eaa68e6a9715a7db8dbe72 (patch) | |
tree | 5a2eae9d331ed36860297a6e20593f1dbf911689 /tests/create_table.inc | |
download | php-git-oci8-1.4.0.tar.gz |
Tagging the 1.4.0 releaseoci8-1.4.0
Diffstat (limited to 'tests/create_table.inc')
-rw-r--r-- | tests/create_table.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/create_table.inc b/tests/create_table.inc new file mode 100644 index 0000000000..afd1fceb9b --- /dev/null +++ b/tests/create_table.inc @@ -0,0 +1,11 @@ +<?php + if ($c) { + $ora_sql = "DROP TABLE ".$schema.$table_name; + $statement = oci_parse($c, $ora_sql); + @oci_execute($statement); + + $ora_sql = "CREATE TABLE ".$schema.$table_name." (id NUMBER, value NUMBER, blob BLOB, clob CLOB, string VARCHAR(10))"; + $statement = oci_parse($c, $ora_sql); + oci_execute($statement); + } +?> |