Generate INSERT statements and recompile all SPs