ADO and Field Blob - Oracle

my application is ported to Oracle, but i found ADO doesn't support BLOB
data type in Delphi 7 and "Microsoft OLE DB Provider for Oracle".
it could use driver of oracle, but I want to use of the Microsoft.
how to solve this problem?


thanks
antenorAsked:
Who is Participating?
 
Mohammed NasmanSoftware DeveloperCommented:
Microsoft OleDB provider for oracle doesn't support the BLob fields

you can use Oracle db provider instead of microsoft one, you can download it freely from oracle website

and you can use dbExpress instead of Ado, it's faster than ado, also using native oracle components like DOA or ODAC, will be the best solution
0
 
kretzschmarCommented:
what about

TBlobField(Dataset.FieldByName('fieldname')).Loadfromfile('imagefilename',ftblob);
//instead of Loadfromfile -> LoadFromStream would be also possible

not sure syntax about the last ftBlob-param

meikl ;-)
0
 
antenorAuthor Commented:
the Problem this at the moment that I go to Open the DataSet
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
kretzschmarCommented:
>the Problem this at the moment that I go to Open the DataSet
what happens?
0
 
antenorAuthor Commented:
if the instruction sql to possess a field CLOB/BLOB occurs an error when trying to give a Open.
0
 
kretzschmarCommented:
what dataset do you use?
is there any sql-statement in use?
0
 
KristaoCommented:
what !!!!!!!!! "found ADO doesn't support BLOB data type in Delphi 7" thats WRONG ADO supports it and i use them very often. And kretzschmars exsample should work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.