USE Command in SQL – DDL Statements

In previous SQL post we had discussed about Data Definition Language and Data Manipulation Language and CREATE Command and ALTER Command.

USE Command – DDL Statements

The USE command allows you to specify the database you wish to work with within your DBMS.
The USE command used to select a database and perform sql operation on it.

The USE command specify the database to perform sql operation until we use another USE statement for some other database.

USE Command Syntax:

USE Databasename

Databasename – is the name of the selected database.

Example of USE Command

USE School

Above statement we use School database for perform some sql operation on it.

Leave a Reply

Your email address will not be published. Required fields are marked *

5 + 9 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">