Bonjour,
en DB2 , Command Editor, j'interroge une table et je reçois l'erreur :
------------------------------ Commands Entered ------------------------------
select PRCSINSTANCE, rundttm from psprcsrqst where rundttm between "31 mars 2014" and "01 avril 2014";
------------------------------------------------------------------------------
select PRCSINSTANCE, rundttm from psprcsrqst where rundttm between "31 mars 2014" and "01 avril 2014"
SQL0206N "31 mars 2014" is not valid in the context where it is used.
SQLSTATE=42703
SQL0206N "31 mars 2014 " is not valid in the context where it is used.
La date dans la table est affiché comme 31 mars 2014.
D'avance merci.
Partager