🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1415

mySQL and ado

#1415
From: lance
Date: Thu, 15 Jul 2004 20:53
20 lines
1487 bytes
i am using mySQL and the ADO driver for it (myoledb ver 3)
my problem involves selecting up a blob field

using standard sql grammar and the adoquery component i can access and insert most field types into my database tables

with the exception of the blob field type

i am able to insert blob info into the table however the program throws a Table not found exception if the blob field is in a sql SELECT statement

ie.  SELECT course FROM studentinfo          (works fine)
     SELECT studentpicture FROM studentinfo  (throws exception) 

where studentpicture is the blob field (course is a varchar)

anybody have success with ADO, BLOBS, and mySQL

PS.  I know that the code is ok because it works with MSSQL

thanks
Technical Details
Message-ID: <40f6eeb5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,937531066d3a7708,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "lance" <palat_l@tdipower.com>
Sender: "lance" <palat_l@tdipower.com>
Reply-To: "lance" <palat_l@tdipower.com>
Subject: mySQL and ado
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 206.67.182.218     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40f6eeb5$1@newsgroups.borland.com>
Date: 15 Jul 2004 13:53:09 -0700
X-Trace: newsgroups.borland.com 1089924789 207.105.83.66 (15 Jul 2004 13:53:09 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail