Although sodium hydride is the preferred base for this reaction, other bases, such as potassium hydride, potassium t-butoxide, calcium hydride, sodium hydroxide, potassium hydroxide, NaNH2, n-butyl lithium and lithium diisopropylamide, can also be used.