Selecting a Database


Before we can create any tables or do anything else with the employee database, we need to tell MySQL that we want to work with our new database. We do this with the use statement, as follows :

 
 use employee; 

The employee database is now selected, and all actions we take from now on will be applied to this database by default.



MySQL Tutorial
MySQL Tutorial
ISBN: 0672325845
EAN: 2147483647
Year: 2003
Pages: 261

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net