SQL Use Database

Using SQL USE statement to select which sql database to handle

To select a database for access to tables etc. you must use the statement USE.

Syntax:
MySQL, SQL server:
USE db_name
Use database example:
USE customerdb;
In Oracle and PostgreSQL you have to connect to select another database.
© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.