Getting '' 'CREATE SCHEMA' must be the first statement in a query batch" error when executing the following statement.
CREATE SCHEMA smithj AUTHORIZATION smithj
I've checked it a dozen times against the example provided in SQL Server 2005 Books Online for Create Schema. It looks just like it, so I don't understand why I'm getting this error. (FYI, I can run the second line on its own without errorring).