I agree with Vincent's answer, but for completeness you can simplify yours:
select inspections.name from inspections where to_char(inspections.insp_date, 'YYYYMM') = '201006';
It can even use an index if the index was:
create index x on inspections (to_char(insp_date, 'YYYYMM'));
Tony Andrews
source share