Drop and Add Index for Table of Mysql


/ Published in: MySQL
Save to your folder(s)

Drop and Add Index for Table of Mysql


Copy this code and paste it in your HTML
  1. /* Add Index */
  2. ALTER TABLE [tablename] ADD INDEX IDX_IndexName(FieldName)
  3.  
  4. /* Drop Index */
  5. Drop Index IDX_IndexName ON [tablename]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.