Use the MONTH() function to capture the month from the date. Do not reinvent the wheel.
If you are really interested in matching a string with like , you'd better use the underscore ( _ ) character as a wildcard:
select * from some_table where some_column like '__-07-__ __:__'
source share