How to generate a create table script for an existing table in phpmyadmin?

Marko Cakic picture Marko Cakic · Jul 31, 2012 · Viewed 201.9k times · Source

How can I generate a create table script for an existing table in phpmyadmin?

Answer

Karan Punamiya picture Karan Punamiya · Jul 31, 2012

Use the following query in sql tab:

SHOW CREATE TABLE tablename

To view full query There is this Hyperlink named +Options left above, There select Full Texts