ORA-00933: SQL command not properly ended
Bonjour
Mon application se connnecte a une base oracle par ODBC. Je suis actuellement sous linux.
Quand j'execute cette requette dans le code :
Code:
1 2 3
| odbc::PreparedStatement* pstmt = con->prepareStatement("SELECT c.idChannel,c.name,s.server,s.port,s.path,s.username,s.psword,c.businessHourTimeZoneOffset,c.businessHourFrom,c.businessHourTo,c.dateStart,c.dateFinish,c.dateFrequence FROM Channel AS c, SFTPCredential AS s WHERE c.type_=? AND c.deleted=0 AND c.nature=0 AND c.active=1 AND c.idCredential=s.idSFTPCredential");
pstmt->setInt(1, CT_SFTP);
odbc::ResultSet* prs = pstmt->executeQuery(); |
J'ai cette erreur :
Citation:
[Easysoft][Oracle]ORA-00933: SQL command not properly ended at offset 188
Je ne comprends pas tres bien ou est le probleme. Ce code s'éxute tres bien avec une base ORACLE sous windows, et avec mysql sous windows et sous linux.
Est ce que qq un a une idée, ou une piste?
merci a bientot