CREATE

CREATE is used to create databases or to add tables to a database.

To create a new database:

CREATE DATABASE foo;

To add a table to an existing database:

CREATE TABLE books (   isbn   varchar(20)  default NULL,   title  varchar(255) default NULL,   author varchar(255) default NULL );



Perl Database Programming
Perl Database Programming
ISBN: 0764549561
EAN: 2147483647
Year: 2001
Pages: 175

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