{"id":691,"date":"2016-09-20T01:51:05","date_gmt":"2016-09-20T01:51:05","guid":{"rendered":"http:\/\/opiniaodetudo.com\/?p=691"},"modified":"2016-09-20T01:55:34","modified_gmt":"2016-09-20T01:55:34","slug":"como-renomear-tabelas-no-mysql","status":"publish","type":"post","link":"https:\/\/opiniaodetudo.com\/index.php\/2016\/09\/20\/como-renomear-tabelas-no-mysql\/","title":{"rendered":"Como renomear tabelas no MySQL"},"content":{"rendered":"<p>Um problema cotidiano \u00e9 alterar nome de tabelas, Para renomear uma tabela no MySQL voc\u00ea s\u00f3 precisa rodar um comando chamado RENAME TABLE, a sintaxe \u00e9 bastante simples:<\/p>\n<pre lang=\"sql\" escaped=\"true\">\r\nRENAME TABLE nome_tabela TO novo_nome_tabela;\r\n<\/pre>\n<p>Para Renomear varias tabelas ao mesmo tempo<\/p>\n<pre lang=\"sql\" escaped=\"true\">\r\nRENAME TABLE nome_tabela TO novo_nome_tabela, nome_tabela2 TO novo_nome_tabela2, nome_tabela3 TO novo_nome_tabela3;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Um problema cotidiano \u00e9 alterar nome de tabelas, Para renomear uma tabela no MySQL voc\u00ea s\u00f3 precisa rodar um comando chamado RENAME TABLE, a sintaxe \u00e9 bastante simples: RENAME TABLE nome_tabela TO novo_nome_tabela; Para Renomear varias tabelas ao mesmo tempo RENAME TABLE nome_tabela TO novo_nome_tabela, nome_tabela2 TO novo_nome_tabela2, nome_tabela3 TO novo_nome_tabela3;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":"","jetpack_publicize_message":""},"categories":[33],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6N3xn-b9","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/posts\/691"}],"collection":[{"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/comments?post=691"}],"version-history":[{"count":2,"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/posts\/691\/revisions"}],"predecessor-version":[{"id":693,"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/posts\/691\/revisions\/693"}],"wp:attachment":[{"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/media?parent=691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/categories?post=691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opiniaodetudo.com\/index.php\/wp-json\/wp\/v2\/tags?post=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}