summaryrefslogtreecommitdiff
path: root/tests/create_table.inc
blob: afd1fceb9b9f0af38b002630f2f73c2a724bd2e1 (plain)
1
2
3
4
5
6
7
8
9
10
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);
    }
?>