ERROR: invalid input syntax for type integer: "2003034-3-19:00:00-00:00:00" LINE 1: ...a_ed_time, sa_rest from tbl_sagyo_a where sa_no = '2003034-3... ^