Click to See Complete Forum and Search --> : Easy MySQL question...


lone-nut
10-11-2000, 05:35 PM
How can one append (add new column) to a mysql table...
or even yet delete the table... ?

klamath
10-11-2000, 06:15 PM
To delete the table, use 'DROP TABLE foobar'

To add a column, use 'ALTER TABLE foobar ADD COLUMN [column definition]'

Where foobar is the name of the table.

This can be found easily in the MySQL documentation @ mysql.com

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)

lone-nut
10-11-2000, 06:46 PM
cool thanks... I know I'm jsut lazy sometimes
going through documentation on websites is an arduous task...

arduous = big word

http://www.linuxnewbie.org/ubb/smile.gif
thanks fer the help klamath

-ln