Error: 'CREATE VIEW' must be the first statement in a query batch. · Issue #42 · justinlettau/sql-source-control · GitHub
![SOLVED: I keep getting an error message for "CREATE VIEW" saying: "Incorrect syntax. Only CREATE VIEW must be the only statement in the batch." I'm using Visual Studio 2018. CREATE VIEW VDeptHeadcount ( SOLVED: I keep getting an error message for "CREATE VIEW" saying: "Incorrect syntax. Only CREATE VIEW must be the only statement in the batch." I'm using Visual Studio 2018. CREATE VIEW VDeptHeadcount (](https://cdn.numerade.com/ask_images/b26aaa987df647c0a5683728e78d0068.jpg)
SOLVED: I keep getting an error message for "CREATE VIEW" saying: "Incorrect syntax. Only CREATE VIEW must be the only statement in the batch." I'm using Visual Studio 2018. CREATE VIEW VDeptHeadcount (
![Incorrect syntax: 'ALTER PROCEDURE' must be the only statement in the batch. · Issue #1254 · microsoft/vscode-mssql · GitHub Incorrect syntax: 'ALTER PROCEDURE' must be the only statement in the batch. · Issue #1254 · microsoft/vscode-mssql · GitHub](https://user-images.githubusercontent.com/13727650/60340603-f3c4f100-99a3-11e9-9979-86c13b1c0485.png)