I modified the date and now it seems the problem is that the date includes the timestamp. how do I configure it so that it ignores the timestamp and just gives me the expected results:
error: Cannot parse timestamp constant 2010-04-01, cause: format hh:mm:ss; SQL statement: query: select count(distinct pdf_name) from qas_issue where record_disposition ='BLOCKED' and db_inserted between '2010-04-01' and '2010-05-01' On May 13, 1:44 pm, gaboshua <rsiky...@gmail.com> wrote: > My current query is as follows: > > select count(distinct pdf_name) from qas_issue where > record_disposition ='BLOCKED' and db_inserted between '01-APR-2010' > and '01-MAY-2010' > > What is the correct syntax for usin a range? > > -- > You received this message because you are subscribed to the Google Groups "H2 > Database" group. > To post to this group, send email to h2-datab...@googlegroups.com. > To unsubscribe from this group, send email to > h2-database+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/h2-database?hl=en. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-datab...@googlegroups.com. To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.