0

目前在我的代码中我有这样的东西

std::string SQL = "SELECT SObject   FROM `EEng`.`orders` where  nStatus not in (?,?,?) and  Quantity!=? and Category=? and freq=? and lev=? and price=?";

我收到以下错误

Unhandled exception at 0x75d0c41f (KernelBase.dll) in EEng.exe:
Microsoft C++ exception: sql::SQLException at memory location 0x048cf1f4..

当我尝试这样做时

prep_stmt = con->prepareStatement(SQL);

关于我可能做错的任何建议?

4

0 回答 0