Posted by Erland Sommarskog on 01/05/07 23:13
onedaywhen (jamiecollins@xsmail.com) writes:
> FWIW in SQL Server 2005 you can end a CREATE VIEW with a semi-colon but
> it must still be "the first statement in a query batch".
And still be the only.
(And I would suggest that ; is not a statement terminator in T-SQL - It's
statement initiator.)
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|