On Wed, Feb 07, 2001 at 11:50:01AM -0500, Thomas A. Lowery wrote:
> > Is placeholders not allowed in DDL statements or what?
> 
> Looking at this, I'd say no.  Note the describe is skipped, so I'd say
> the statement isn't really parsed by Oracle until the execute is
> called.
> 
>     dbd_preparse scanned 1 distinct placeholders
> OCIHandleAlloc(0x81c2d18,0x81e94d4,4,0,(nil))=SUCCESS
> OCIStmtPrepare(0x81e47b0,0x81d1fbc,'create table yaya as select * from one where me 
>= :p1 ',54,1,0)=SUCCESS
> OCIAttrGet(0x81e47b0,4,0x81e94d8,(nil),24,0x81d1fbc)=SUCCESS
>     dbd_st_prepare'd sql CREATE
>     dbd_describe skipped for CREATE
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That could possibly be changed for OCI 8 (I think the logic dates from
OCI 7) but might open a new can of worms.

Tim.

Reply via email to