13.07.2015 Views

David M. Kroenke and David J. Auer Database Processing: SQL for ...

David M. Kroenke and David J. Auer Database Processing: SQL for ...

David M. Kroenke and David J. Auer Database Processing: SQL for ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Adding <strong>and</strong> Dropping Columns• The following statement will add a columnnamed MyColumn to the CUSTOMERtable:ALTER TABLE CUSTOMER ADD MyColumn Char(5) NULL;• You can drop an existing column with thestatement:ALTER TABLE CUSTOMER DROP COLUMN MyColumn;KROENKE AND AUER - DATABASE PROCESSING, 11th Edition© 2010 Pearson Prentice Hall7-20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!