ad9837 Square and sine wave

Can we get square and sine wave with the same resolution with the AD9837? What are the cheapest solutions to generate a square wave between 0Hz to 400kHz with a Resolution of 1Hz.We are already using AD9851 from 34kHz to 36kHz with a Resolution of 1Hz but this is expensive.