I'm not sure, if it is just a syntax-problem - I'm no SQL-guru. We write down the query in *one* row.
We do it this way:
delete from ePOevents where ReceivedUTC < '31/12/2012'
You could substitute "ReceivedUTC" with the item you like (DetectedUTC, etc.).
You should also consider shrinking the database(file) afterwards (if you didn't).
There's a server task for that, isn't it simpler to do that ?
In regards to your query, you can issue a use ePO_INGGGNEPO; to give it context. Right now it is not recognizing what you are referring to.