repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
ext
/
oci8
/
tests
/
create_type.inc
blob
e23f7cb903351aef06935817fa60e88d1f1dfc86
1
<?php
2
3
if ($c) {
4
$ora_sql = "DROP TYPE
5
".$type_name."
6
";
7
8
$statement = OCIParse($c,$ora_sql);
9
@OCIExecute($statement);
10
11
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER(11)";
12
13
$statement = OCIParse($c,$ora_sql);
14
OCIExecute($statement);
15
}
16
17
?>