Modified all alter to inline sql.