When generating database script from model, we use the following:
USE [MyDatabaseName];
which throws the following error:
USE statement is not supported to switch between databases. Use a new connection to connect to a different Database.
USE [MyDatabaseName];
which throws the following error:
USE statement is not supported to switch between databases. Use a new connection to connect to a different Database.