On Mon, 29 Jul 2002, Alex Cheung Tin Ka wrote:
> ... extract(month from timestamp '"op_str_time"') = 4...
That form is explicitly for timestamp literals AFAIK. op_str_time isn'tone. :)
Try CAST(op_str_time as timestamp).