windows7 32bit,qt5.0.1,MinGW4.7
1)Qt how to use the Ole Db to linked database; need to use ActiveQt ?
2)I want to operate the database dbf (vfp).Only to use odbc?
3)I use odbc to operate the dbf(vfp).Insert 4000 rows , each row contains two fields, each field char (20). i use 9644ms to Complete it.
the code like this
for(int i=0,i<4000,i++)
{
query.exec("insert into test (name,password) values ('TOM','123456789ABC')");
}
Is there other faster solution?I test q.execBatch() no faster,iuse 112543ms.
Thank you!
↧