INSERT,C++
1、插入指定列
sqlStr = QString("INSERT INTO DPU1OverLimite([time],[ERR_type],[Want_Value],[Real_Value])"
"VALUES (%1,'%2',%3,%4)").arg....;
2、插入所有
sqlStr = QString("INSERT INTO DPU1OverLimite VALUES (%1,'%2',%3,%4)").arg()...;
ps:在插入的是字符串时加上' ',不能是" "