Mi era capitato durante il corso, e ne siamo usciti abbastanza in fretta, ma preferisco postarlo per riferimenti futuri.
...Database pro output scripts are valid t-sql syntax, but remember: Database pro uses SQLCMD to deploy databases...
In Management Studio you need to swap into SQLCMD mode.
- Tthrough the Query -> SQLCMD Mode menu.
- Click the red exclaimation icon in your toolbar.
