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?
1 Answer
You can use SHOW CREATE TABLE:
SHOW CREATE TABLE oldtable
2 Comments
Nick
@P.Salmon it's hard to say. Just reading the question, you might be right, but the title definitely suggests this is the answer.
imrvasishtha
yeah, @Nick that's helpful.
