A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
Sounds like a blocking issue, like a process holding a lock on system tables.
You could use my beta_lockinfo to investigate the blocking. Start the CREATE TABLE statement and look for rows with !! in the BlkLvl column. That is the root blocker.