binsaji
asked on
REading a blob field in the SQL
I have few blob fields in my interbase database. They only store cahracter data. I want to read them along with the other normal fields so that I can export them into Excel or something. When I use the normal SQL with the blob field name included, the data is not comming( no error also).
I tried using a cursor , is not working.
I tried using a cursor , is not working.
Why not post your SQL?
ASKER
what do u mean by posting the SQL?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have a table with few normal charaster and numeric fields with one or more blob field. I want to run a simple SQL to extract all these fields and display ina grid and then export that into an XLS file.
The grid is showing all other data except the blob and the blob is only showing an eclipses where I can click and open another window to see the data of the blob field.
I am using a Quantum grid which has a method to export the data into an excel file. When I do that except the blob field everythign else gets exported, except the blob field. I want to see the data of the blob field also in the XLS fiel as a column. Is that possible?
The grid is showing all other data except the blob and the blob is only showing an eclipses where I can click and open another window to see the data of the blob field.
I am using a Quantum grid which has a method to export the data into an excel file. When I do that except the blob field everythign else gets exported, except the blob field. I want to see the data of the blob field also in the XLS fiel as a column. Is that possible?
you could try a cast as varchar,
not sure about the syntax, something like
select f1, cast(blobfieldname as varchar(2000)) from whatever
meikl ;-)
not sure about the syntax, something like
select f1, cast(blobfieldname as varchar(2000)) from whatever
meikl ;-)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi binsaji,
if you got the needed answer, please accept it by clicking on Accept in the header of the good answer. By this way you can express thanks for expert's support
with best regards
Janos
if you got the needed answer, please accept it by clicking on Accept in the header of the good answer. By this way you can express thanks for expert's support
with best regards
Janos
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
to split points as follows:
167 points for YodaMage - tried to get useful info
167 points for kretzschmar - offered the possible solution
166 points for unordained - explained detailled
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
kacor
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area for this question:
to split points as follows:
167 points for YodaMage - tried to get useful info
167 points for kretzschmar - offered the possible solution
166 points for unordained - explained detailled
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
kacor
EE Cleanup Volunteer