You Are Here Home > Add a Column After a Specific Column On a Table

Add a Column After a Specific Column On a Table

Assume that we want to add a column ‘number’ after ‘pass’ column on table ‘test’:

ALTER TABLE test ADD number INT(12) NOT NULL AFTER pass;
Add a Column After a Specific Column On a Table
Filed under: MySQL   Posted by: Codehead

Got a Question?

Get answers here.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment