mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
20 lines
500 B
PHP
20 lines
500 B
PHP
<?php
|
|
|
|
if ($c) {
|
|
$ora_sql = "DROP TABLE
|
|
".$schema.$table_name."
|
|
";
|
|
|
|
$statement = OCIParse($c, $ora_sql);
|
|
@OCIExecute($statement);
|
|
|
|
$ora_sql = "CREATE TABLE
|
|
".$schema.$table_name." (id NUMBER, value NUMBER, blob BLOB, clob CLOB, string VARCHAR(10))
|
|
";
|
|
|
|
$statement = OCIParse($c,$ora_sql);
|
|
OCIExecute($statement);
|
|
}
|
|
|
|
?>
|