Flood and Water Management

Can a dam control both flood and drought, especially for farmers?  Farmers from my community suffer from these two extremes.