The easiest way to write a Timestamp literal is TIMESTAMP 'yyyy-mm-dd hh:mi:ss':
WHERE col = TIMESTAMP '2012-11-14 16:24:18.071000'
If you really need to use a different format you must use a CAST plus FORMAT:
WHERE col = CAST('14/11/2012 16:24:18.071000' AS TIMESTAMP FORMAT 'dd/mm/yyyyBhh:mi:ss.s(6)')
The easiest way to write a Timestamp literal is TIMESTAMP 'yyyy-mm-dd hh:mi:ss':
If you really need to use a different format you must use a CAST plus FORMAT: