ORA-00933: SQL command not properly ended [Résolu/Fermé]
Signaler
BelleRose2
nichola
- Messages postés
- 7
- Date d'inscription
- dimanche 13 septembre 2015
- Statut
- Membre
- Dernière intervention
- 19 septembre 2015
nichola
- Messages postés
- 111
- Date d'inscription
- jeudi 7 juin 2007
- Statut
- Membre
- Dernière intervention
- 24 avril 2016
A voir également:
- Ora-00933
- Ora-00933: sql command not properly ended - Meilleures réponses
- Sql command not properly ended - Meilleures réponses
- ORA-00933: SQL command not properly ended ✓ - Forum - Oracle
- Ora-00933: la commande sql ne se termine pas correctement - Forum - Java
- ORA-00933 SQL COMMAND NOT PROPRELLY ENDED (a - Forum - Programmation
- Ora-00600 - Conseils pratiques - Oracle
- Ora-00904 ✓ - Forum - Bases de données
2 réponses
nichola
- Messages postés
- 111
- Date d'inscription
- jeudi 7 juin 2007
- Statut
- Membre
- Dernière intervention
- 24 avril 2016
Salut,
Je suis pas un expert Oracle ni Forms, mais il me semble qu'il manque un '%' après le LIBELLE_FR_ LIKE non ?
Ca devrait être çà plutot :
OleDbCommand comdatabase = new OleDbCommand("select * from bi_dictionnaire where CHAMPS='" + textType.Text + "' and LIBELLE_FR LIKE '%"+ ID2.Text +"%');",
Je suis pas un expert Oracle ni Forms, mais il me semble qu'il manque un '%' après le LIBELLE_FR_ LIKE non ?
Ca devrait être çà plutot :
OleDbCommand comdatabase = new OleDbCommand("select * from bi_dictionnaire where CHAMPS='" + textType.Text + "' and LIBELLE_FR LIKE '%"+ ID2.Text +"%');",
BelleRose2
- Messages postés
- 7
- Date d'inscription
- dimanche 13 septembre 2015
- Statut
- Membre
- Dernière intervention
- 19 septembre 2015
L'erreur m'apparaît encore avec cette ligne :\
string strCommand = "UPDATE users SET mot_de_passe=?mot_de_passe WHERE mot_de_passe=" + textBox1.Text;
:\
string strCommand = "UPDATE users SET mot_de_passe=?mot_de_passe WHERE mot_de_passe=" + textBox1.Text;
:\
Merci :)