I have several fields, one of which is a BLOB. I want to SELECT the fields and return the results to the browser, and then dump the contents of the BLOB into a file on the server. I’m struggling with how to do this in one query. The on_linear_array field is the BLOB.
SELECT
id
,model_type
,on_linear_array
INTO DUMPFILE
‘dump.txt’
FROM station