USE – Select a database in SQL

Before you can start querying a database you will need to select the database first.

This is done using the USE command

USE Enteryourdatabasenamehere

For example

USE AdventureWorks

This will change the queried database to AdventureWorks

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: