MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:wenzhu cui Date:February 27 2009 3:59am
Subject:batch insert
View as plain text  
 In C API, I want to insert 10000 sql.

I must have one strSql= insert into tables hello id ,blob values(?,?),(?,?),(?,?)..........。

then bind every pos with mysql_stmt_bind_param().

then to exec.


In C API don't have batchexec。

if I can have strSQL = inset into tables hello id,blob values10000((?),(?)).

like this strSQL

thank you ereryone. 


Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
batch insertwenzhu cui27 Feb