format period table

ILIKE instead of LIKE
query_options