Category : database

I have ORA-00933 error message. temp is struct, which stored values from cin. Do you have any idea how to solve this problem? try { Statement* stmtEmp = conn->createStatement("INSERT INTO employees (employeenumber, lastname, firstname, extension, email, officecode, reportsto, jobtitle) VALUES ( :1, :2, :3, :4, :5, :6, :7, :8);"); stmtEmp->setInt(1, temp->employeeNumber); stmtEmp->setString(2, temp->lastName); stmtEmp->setString(3, temp->firstName); ..

Read more