gratsami Posted April 24, 2011 Share Posted April 24, 2011 hi, i have a class from (http://www.phpkode.com/source/s/pdo-multi-connection-class/pdo_database.class.php) and i connected with Oracle database and i retrieved data from database. but i try to retrieve CLOB it is return as (Resource id #4) the varchar2 , integer is ok but CLOB, BLOB, LOB is not ok. what is the problem, what i should to do? Regards; Quote Link to comment https://forums.phpfreaks.com/topic/234567-problem-in-pdo-with-clob-of-oracle-11g/ Share on other sites More sharing options...
Adam Posted April 25, 2011 Share Posted April 25, 2011 Due to the way LOBs are stored internally, you can't return them like normal data types. Have a read of this article, it looks to explain the process pretty well. Quote Link to comment https://forums.phpfreaks.com/topic/234567-problem-in-pdo-with-clob-of-oracle-11g/#findComment-1206137 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.