{"id":2009,"date":"2013-06-13T08:34:27","date_gmt":"2013-06-13T08:34:27","guid":{"rendered":"http:\/\/www.withdata.com\/ad\/?p=2009"},"modified":"2017-04-20T11:04:11","modified_gmt":"2017-04-20T11:04:11","slug":"how-to-generate-a-create-table-statement-for-a-given-table-in-mysql","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/mysql\/how-to-generate-a-create-table-statement-for-a-given-table-in-mysql.html","title":{"rendered":"How to generate a CREATE TABLE statement for a given table in Mysql"},"content":{"rendered":"<p>Just use <strong>SHOW CREATE TABLE<\/strong><\/p>\n<pre><code>SHOW CREATE TABLE my_table<\/code><\/pre>\n<p>See also:<\/p>\n<p><a href=\"http:\/\/www.withdata.com\/blog\/sql-server\/how-to-generate-a-create-table-statement-for-a-given-table-in-sql-server.html\">How to generate a CREATE TABLE statement for a given table in SQL Server<\/a><\/p>\n<p><a href=\"http:\/\/www.withdata.com\/blog\/oracle\/how-to-generate-a-create-table-statement-for-a-given-table-in-oracle.html\">How to generate a CREATE TABLE statement for a given table in Oracle<\/a><\/p>\n<p><a href=\"http:\/\/www.withdata.com\/blog\/sqlite\/how-to-generate-a-create-table-statement-for-a-given-table-in-sqlite.html\">How to generate a CREATE TABLE statement for a given table in SQLite<\/a><\/p>\n<p>Some MySQL tools you can try: <a href=\"https:\/\/www.withdata.com\/mysql\/\"> https:\/\/www.withdata.com\/mysql\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just use SHOW CREATE TABLE SHOW CREATE TABLE my_table See also: How to generate a CREATE TABLE statement for a given table in SQL Server How to generate a CREATE TABLE statement for a given table in Oracle How to generate a CREATE TABLE statement for a given table in SQLite Some MySQL tools you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[269,1323],"class_list":["post-2009","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-generate-a-create-table-statement","tag-mysql"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/2009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=2009"}],"version-history":[{"count":4,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/2009\/revisions"}],"predecessor-version":[{"id":6448,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/2009\/revisions\/6448"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=2009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=2009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=2009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}