note 9395 added to OCIBindByName
| From: | Maxwell_Smart at ThePentagon dot com | Date: | Tue, 31 Oct 2000 23:27:23 +0000 |
| Subject: | note 9395 added to OCIBindByName | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7225@lists.php.net to get a copy of this message | ||
You cannot use a reserved word as a bind variable.Otherwise you'll get "OCIStmtExecute:
ORA-01745: invalid host/bind variable name". So, while "RETURNING ROWID INTO :RowId"
may be nice, it'll cause an error, as will "RETURNING ROWID INTO :SELECT", etc.
http://www.php.net/manual/function.ocibindbyname.php