Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rearrange Column Order in Navicat

in navicat you can arrange the order of the columns but i have yet to find a way to sync the changes with the database. i saw a similar question here -> Rearrange column order in Sqlyog but haven't found anything similar in navicat. i have many tables that need to be fixed for export to excel and the order is important in the readability/presentation. typing out sql code for each move would be way too tedious. thanks in advance.

like image 687
Andrew Avatar asked Jun 30 '11 21:06

Andrew


People also ask

How do I rearrange column order in SQL Server?

To change the column order 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 phpMyAdmin?

Yes you can. In phpMyAdmin go to table structure. On bottom you can press option "Move columns" There you can rearange tables as you see fit. That one is for rearranging columns, not the tables themselves.


1 Answers

you can't do it in navicat , you have to run a sql query for that purpose

like image 63
Tarek Avatar answered Nov 15 '22 03:11

Tarek