Jump to content

Recommended Posts

http://dev.mysql.com/doc/refman/5.0/en/alter-table.html

for example

ALTER TABLE bookdata CHANGE locnumber locnumber varchar(100) AFTER ts

 

I found you can do this. Looking into it people on other forums said you cant. But I found you can.

so has this been implemented  recently?

Link to comment
https://forums.phpfreaks.com/topic/227753-reordering-columns-works/
Share on other sites

In MySQL 3.22 or later, to add a column at a specific position within a table row, use FIRST or AFTER col_name. The default is to add the column last. From MySQL 4.0.1 on, you can also use FIRST and AFTER in CHANGE or MODIFY operations to reorder columns within a table.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.