daddyb_1
asked on
using oracle CLOB's in ADO
Hi,
I'm trying to use Oracle stored procedures that either take or return the oracle CLOB data type, but when I try and execute the ADO command I get an error message saying the parameters are incorrect. Has anybody managed to successfully use CLOB's in VB at all?
The only documentation I've found says to set the following property on the command object:
.Properties("SPPrmsLOB") = True
but it still doesn't work.
If I try and refresh the parameters collection then I also receive an error (this only occurs when CLOBS are in the procedure declaration - if the procedure has no clobs then it works fine...)
I'm running ADO 2.5, VB6, Oracle 8.1.7
Any help appreciated...
Brian
Sorry - should have mentioned, I'm using the Oracle OLEDB provider (v8.1.7.2) rather than the microsoft one.
I'm trying to use Oracle stored procedures that either take or return the oracle CLOB data type, but when I try and execute the ADO command I get an error message saying the parameters are incorrect. Has anybody managed to successfully use CLOB's in VB at all?
The only documentation I've found says to set the following property on the command object:
.Properties("SPPrmsLOB") = True
but it still doesn't work.
If I try and refresh the parameters collection then I also receive an error (this only occurs when CLOBS are in the procedure declaration - if the procedure has no clobs then it works fine...)
I'm running ADO 2.5, VB6, Oracle 8.1.7
Any help appreciated...
Brian
Sorry - should have mentioned, I'm using the Oracle OLEDB provider (v8.1.7.2) rather than the microsoft one.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Per recommendation, force-accepted.
Netminder
CS Moderator
Netminder
CS Moderator
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept acperkins@devx's comment(s) as an answer.
daddyb_1, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer