Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Sat Feb 04, 2012 10:28 pm


Mysql Application & Query Optimization, Questions, Indexes, Bugs.

Bookmark this article:

Author Message
debuser
Post  Post subject: Mysql remove column from an existing table  |  Posted: Fri Aug 06, 2010 5:06 pm

Joined: Thu Aug 06, 2009 9:48 am
Posts: 90

Offline
Save on Delicious
The following command will remove an existing table's specified column and the data contained:
Code:
mysql> ALTER TABLE table_name DROP column_name;


As with any database/file delete/edit actions, it's recommended to have a backup. You never know when you meight need it.


Top
Display posts from previous:  Sort by  
Print view

Topics related to - "Mysql remove column from an existing table"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Mysql: add column to table

debuser

1

2741

Fri Oct 08, 2010 8:38 am

sonee4 View the latest post

There are no new unread posts for this topic. Mysql add Unique index to a table column

debuser

0

412

Fri Aug 06, 2010 5:01 pm

debuser View the latest post

There are no new unread posts for this topic. Mysql - Change position of a column after another column

admin

1

3491

Fri Oct 08, 2010 8:41 am

sonee4 View the latest post

There are no new unread posts for this topic. Rename MySql table

debuser

1

461

Fri Oct 08, 2010 8:36 am

sonee4 View the latest post

There are no new unread posts for this topic. MySql rename table

admin

2

327

Mon Nov 28, 2011 10:39 am

Darwin View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO