Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

using oracle CLOB's in ADO

Posted on 2001-08-07
3
Medium Priority
?
1,713 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 600 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

886 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