Home All Groups Group Topic Archive Search About

accessing blob fileds from oracle

Author
3 Feb 2006 2:50 PM
Chenna Sudarsan
Hello,
I am connecting to Oracle9.2 database from VB6.0 using MSDAORA provider. I
am using ADO2.5.
When I try to access a blob column of oracle I am getting the below
mentioned error.

--------------------
Run-time error '-2147467259 (80004005)':

Data type is not supported.
----------------------

When I try to connect using OracleOLEDB.Oracle provider I am able access the
blob column and get the image stored in the column.
I can not use this provider as all my clients will not contain this
provider. I need to use MSDAORA provider only.

Could any tell me what could the problem?

regards,
Chenna

Author
3 Feb 2006 3:41 PM
Armin Zingler
"Chenna Sudarsan" <rbin.vcroom***@in.bosch.com> schrieb
> Hello,
> I am connecting to Oracle9.2 database from VB6.0 using MSDAORA
> provider. I am using ADO2.5.


This is a VB.Net newsgroup. The best place to ask VB6 related database
questions is microsoft.public.vb.database.ado


Armin
Author
6 Feb 2006 3:33 PM
Paul Clement
On Fri, 3 Feb 2006 20:20:28 +0530, "Chenna Sudarsan" <rbin.vcroom***@in.bosch.com> wrote:

¤ Hello,
¤  I am connecting to Oracle9.2 database from VB6.0 using MSDAORA provider. I
¤ am using ADO2.5.
¤ When I try to access a blob column of oracle I am getting the below
¤ mentioned error.
¤
¤ --------------------
¤ Run-time error '-2147467259 (80004005)':
¤
¤ Data type is not supported.
¤ ----------------------
¤
¤ When I try to connect using OracleOLEDB.Oracle provider I am able access the
¤ blob column and get the image stored in the column.
¤ I can not use this provider as all my clients will not contain this
¤ provider. I need to use MSDAORA provider only.
¤
¤ Could any tell me what could the problem?

Yes, the Microsoft ODBC driver and OLEDB provider do not support a BLOB data type:

http://support.microsoft.com/default.aspx?scid=kb;en-us;244661


Paul
~~~~
Microsoft MVP (Visual Basic)