NYCPHP Meetup

NYPHP.org

[nycphp-talk] PEAR::DB prepare() and executeMultiple()

Brian Kaney brian at vermonster.com
Fri Mar 18 17:31:39 EST 2005


On Fri, 2005-03-18 at 17:24, Jeff Loiselle wrote:
> Hello everyone,
> 
> I need some eyes on this code.. I've been staring at it for too long..
> and I dont know where to go for more debugging info.  I am using
> Oracle and I get this error:
> 
> DELETE FROM ? WHERE DOC_ID=? [nativecode=ORA-00903: invalid table name]
> 


Try to use the ! for the field name.  This binding wildcard won't add
the quoting and will pass straight through.


   DELETE FROM ! WHERE DOC_ID=?

- Brian




More information about the talk mailing list