Fixed view templating process

Removed expectation that there would be two spaces between the CREATE
VIEW and the name of the view so that it matches the PROC and
PROCEDURE patterns. This was causing the replacement of CREATE with ALTER to fail if there
was only one space between the CREATE VIEW and the name of the view.