• September 29, 2014
  • SQL
  • Comments Off on SQL SELECT Database

SQL SELECT Database

In case multiple databases exist in the SQL schema we have to select the database before performing any operation. The USE statement is used to select any existing database in SQL schema.

Syntax: USE databaseName;

Example:

USE javawithease_db;
 
Next Topic: SQL DROP Database with example.
Previous Topic: SQL SHOW Database List with example.

Related Topics:

How to build java project using ant in eclipse?
JAXB marshalling – convert java object to xml example.
How to create pdf file in java using iText jar?
Generics class example.
OGNL in struts 2.
Hibernate One-to-One Mapping using xml.
Send inline image in email using JavaMail API.
Quartz 2 JobListener example.

 


Comments are closed.