PDA

View Full Version : How to insert BLOB into MySQL with Qt?



babygal
25th August 2010, 11:02
How to insert BLOB-(text files) into MySQL with Qt?

Lykurg
25th August 2010, 11:07
It works like any other insert. Use QSqlQuery with QSqlQuery::prepare() and construct a normal sql query.

babygal
26th August 2010, 12:14
Are there any sample codes ?

vcp
26th August 2010, 13:26
Hi babygal,

Although I think you should do more research on this subject,
I posted some time ago to a code on this site MySQL.com
Access the link below and see if this can help you.

http://dev.mysql.com/doc/refman/5.1/en/blob.html