Solved

using oracle CLOB's in ADO

Posted on 2001-08-07
3
1,698 Views
Last Modified: 2009-02-19
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.
0
Comment
Question by:daddyb_1
3 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 150 total points
ID: 6360236
The Microsoft Oracle ODBC and OLE DB providers do not support the CLOB datatype (as well as BLOB, BFILE, NCHAR, NCLOB, NVARCHAR2)  Use the Oracle provider for OLE DB, instead.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7198531
Hi daddyb_1,
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
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7213261
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question