Mysql – How to migrate data from SQL database to MySQL including flat files

MySQL

One of my friends asked some asp developer to make online application where user can upload files also. jpg, doc, pdf and all these files are saved in SQL database as flat file. Now, my friend asked me to do everything in PHP and he want to migrate all the data which he has in SQL database to MySQL database. I can do it. text can be migrated easily but the files which are saved in SQL database can be migrated to MySQL as flat files. Is it possible?

Best Answer

According to this you should be able to store files in a blob or text field. I don't actually work with mysql so I googled "mysql datatypes".