P. 1
phpyoracle

phpyoracle

|Views: 623|Likes:
Published by Dunkel Kruspe

More info:

Categories:Types, Research
Published by: Dunkel Kruspe on Apr 05, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/03/2011

pdf

text

original

Executing Data Definition Language (DDL) and Data Manipulation Language (DML) statements, like
CREATE and INSERT, simply requires a parse and execute:
$s = oci_parse($conn, "create table i1test (col1 number)");
oci_execute($s);

The only-run-once installation sections of applications should contain almost all the CREATE TABLE
statements used. Applications in Oracle do not commonly need to create temporary tables at run time, and
it is expensive to do so. Use inline views, or join tables when required. In some cases “global temporary
tables” might be useful but one caveat is that temporary tables have no statistics for the Oracle optimizer to
evaluate.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->