Re: DB_Common-quoteIdentifier oci/oracle

From: Date: Thu, 15 Apr 2004 07:32:23 +0000
Subject: Re: DB_Common-quoteIdentifier oci/oracle
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-27676@lists.php.net to get a copy of this message
Hi Andreas: On Thu, Apr 15, 2004 at 09:19:49AM +0200, Goetz Andreas (external) wrote: > Maybe I'm confusing things, but this is an example from oracle technet: > > UPDATE EMPLOYEE SET AGE = 30 WHERE NAME = 'John' John is a literal. Use quoteSmart() for that. Employee is an identifier. Use quoteIdentifier() for that. The following two passages are from the respective pages in the PEAR DB manual "Literals are values such as strings or numbers which get utilized in places like WHERE, SET and VALUES clauses of SQL statements." "Identifiers are objects such as table or column names." Have a good day, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#27676) next »