Reputation: 99
I want to make a new table like as an existing table in MySQL database with some "column name" changes. So, is there any way to see the SQL dump of the existing table without importing?
Upvotes: 1
Views: 1361
Reputation: 147196
You can use SHOW CREATE TABLE:
SHOW CREATE TABLE
SHOW CREATE TABLE oldtable
Upvotes: 2