Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have partitioned a table on the basis of one flag column have value either 0 or 1. Now, I want to roll back these tables. How can I do this?

share|improve this question
    
Do you mean that you want to remove the partitioning? – Phil Sumner Jun 19 '14 at 11:52
    
Yes, I want to remove partitioning and restore it as earlier. – ursitesion Jun 19 '14 at 12:20

ALTER TABLE .... REMOVE PARTITIONING

http://dev.mysql.com/doc/refman/5.1/en/alter-table-partition-operations.html

Only available from version 5.1.8 onwards.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.