Re: OCINewDescriptor & long fields
| From: | thies at digicol dot de | Date: | Fri, 25 Aug 2000 10:21:32 +0000 |
| Subject: | Re: OCINewDescriptor & long fields | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2368@lists.php.net to get a copy of this message | ||
On Thu, Aug 24, 2000 at 04:08:28PM +0200, Arjan Haverkamp wrote:
> Hi,
>
> I installed PHP4.0.1pl2 and Oracle8i, it all works beautifully together.
>
> A customer wants to use PHP4 to interface with their existing Oracle
> database. This DB contains some tables that contain a field of
> type 'long'.
you don't need to use "ocinewdescriptor" for longs just
treat them as "normal" fields (like varchar).
tc
> I tried using the examples on
> http://www.php.net/manual/function.ocinewdescriptor.php,
> but I get an 'inconsistent datatypes' error when "talking to" a
> long-column.
> If I change the datatype of the column from 'long' to 'blob', it all
> works
> like a charm.
> Does anybody now how to get more than 4000 characters into an Oracle
> long
> column???
>
> Replies please to arjan@nob.nl. Thanks!
>
> Arjan
>
> --
>
> ººººººººººººººººººººººººººººººººººººººººººººººººº
> Arjan Haverkamp aka: void
> NOB New Media Services url: http://www.nms.nob.nl
> Sumatralaan 45 email: arjan@nob.nl
> 1217 GP Hilversum
> The Netherlands "There's no gravity,
> +31-35-6774000 the earth just sucks..."
>
> ººººººººººººººººººººººººººººººººººººººººººººººººº
>
>
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany