In general, if you are only running a single statement, as opposed to a script when you want one statement after the next to run, you should use F9.
You can read more about why here (although that post is more about SELECT
than Create or Replace
statements).