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.

http://www.microsoft.com/windows/windowslive/products/photos.aspx
Thread
batch insertwenzhu cui27 Feb