I have executed a query from .sql file in SSMS which starts with the "USE" query:
use mydatabase Go
However there