Hi Thanks to everybody who told me how to store a BMP image as a BLOB using the LOAD_FILE.
Now I would like to now if there is a function that does the opposite to LOAD_FILE? I have tried using SQLFetch after using a SQLBindCol, but all I get returned is the first 4 bytes even if the size of the buffer I use is 1024 bytes big and this size has been passed as a parameter to the SQLBindCol function. I am using the ODBC API of Microsoft Visual Studio 6 and MyODBC Driver version 3.51. The MySQL version is 4.0.12-nt. Thanks Franz Klein -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]