Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rearrange column order in Sqlyog

Tags:

sql

mysql

sqlyog

Is it possible to rearrange a table's column order in SQL yog?

like image 677
ripper234 Avatar asked Dec 19 '09 17:12

ripper234


People also ask

How do I change the order of columns in a table?

In Object Explorer, right-click the table with columns you want to reorder and select Design. Select the box to the left of the column name that you want to reorder. Drag the column to another location within the table.

How do I change the order of columns in a Postgres table?

Postgres currently defines column order based on the attnum column of the pg_attribute table. The only way to change column order is either by recreating the table, or by adding columns and rotating data until you reach the desired layout.


1 Answers

Yes. Table / More Table Operations / Reorder Columns (ctrl shift r)

like image 80
O. Jones Avatar answered Oct 19 '22 04:10

O. Jones