select datetime from table where substr(to_char(datatime,'yyyy-mm-dd hh24:mi:ss'),1,4) = '2003';