You need a space between 'where' and 'datav' - and replace the last 'where' with an 'and'.
Normally you will have saved the date as a DATE or TIMESTAMP field in the database, and in
Java you will pass the argument to the Statement as a java.sql.Date
[ December 31, 2008: Message edited by: Rene Larsen ]