Create redologswitchfrequency.sql