Richard Korts
asked on
phpmyadmin
I have an existing table in a database that has about 35 columns. I want to build another (empty) table with the EXACT same structure (no rows populated).
Is there a way to do this in phpmyadmin?
My thought is to export the structure only, edit the exported .sql file to change the name & import it.
Is there an easier way?
Is there a way to do this in phpmyadmin?
My thought is to export the structure only, edit the exported .sql file to change the name & import it.
Is there an easier way?
I would click on Export tab, uncheck Data checkbox and click Execute button: that's all
Oh, yes: then you can copy and past the code, edit it as you need to change the table name, save it on your hard drive and then reimport it through Import tab of PhpMyAdmin. You can also past the edited code in SQL tab and click execute.
Cheers
Cheers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect!