RE: [PHP-DB] Problem with insert BLOB into Oracle

From: Date: Thu, 05 Oct 2006 14:05:19 +0000
Subject: RE: [PHP-DB] Problem with insert BLOB into Oracle
Groups: php.db 
Request: Send a blank email to php-db+get-42490@lists.php.net to get a copy of this message
Hello you can not insert a lob this way. Refer to the php manual pages at http://www.php.net/oci And search for Example 3. Inserting data into a CLOB column Vincent -----Original Message----- From: Rosen [mailto:rosen@pernikinfo.com] Sent: jeudi 5 octobre 2006 14:43 To: php-db@lists.php.net Subject: [PHP-DB] Problem with insert BLOB into Oracle Hi, I have problem with inserting into BLOB field in Oracle 10: insert into some_table(DESC) values ( '$txt') The DESC field type is "LONG RAW" The $txt variable contains large text, whitch is extracted from another table field with same type. When I read field DESC and print it, there is no problems, but when try to insert I receive an error:"Error: ORA-01465: invalid hex number" Can someone help ? Thanks, Rosen -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#42490) next »