<br />
<b>Notice</b>:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>breadcrumb-navxt</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in <b>/home/devtools/public_html/blog/wp-includes/functions.php</b> on line <b>6131</b><br />
{"id":456,"date":"2013-06-03T09:22:00","date_gmt":"2013-06-03T12:22:00","guid":{"rendered":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/"},"modified":"2021-09-04T18:27:05","modified_gmt":"2021-09-04T21:27:05","slug":"reordenando-campos-em-tabela-no-mysql","status":"publish","type":"post","link":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/","title":{"rendered":"Reordenando campos em tabela no MySQL"},"content":{"rendered":"<p><span style=\"font-size: large;\">A<\/span>s tabelas de um modo geral seguem uma ordem l\u00f3gica quando falamos de seus atributos (campos), por exemplo, em uma tabela de produtos \u00e9 comum termos o atributo <b>qtd <\/b>ap\u00f3s o <b>nome<\/b>. Mas nem sempre nos deparamos com estruturas assim, e ai, como alterar a estrutura de forma f\u00e1cil, e o mais importante, sem perder os dados ali j\u00e1 registrados?<\/p>\n<div>No MySQL isso \u00e9 tarefa f\u00e1cil com o uso do comando\u00a0<a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.1\/en\/alter-table.html\" target=\"_blank\" rel=\"noopener noreferrer\">Alter Table<\/a>\u00a0(<i>Change).\u00a0<\/i><br \/>\nPropomos ent\u00e3o o seguinte cen\u00e1rio:<\/p>\n<\/div>\n<div><\/div>\n<div>Tabela: produto:<\/p>\n<pre style=\"background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed #cccccc; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\"><code style=\"color: black; word-wrap: normal;\"> <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">create table<\/span><\/code><code style=\"color: black; word-wrap: normal;\"> produto(   \n  id_produto bigint <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">not null auto_increment<\/span><\/code><code style=\"color: black; word-wrap: normal;\">,  \n  qtd <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">int not null default<\/span><\/code><code style=\"color: black; word-wrap: normal;\"> <\/code><code style=\"word-wrap: normal;\"><span style=\"color: orange;\">0<\/span><\/code><code style=\"color: black; word-wrap: normal;\">,  \n  nome <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">varchar<\/span><\/code><code style=\"color: black; word-wrap: normal;\">(<\/code><code style=\"word-wrap: normal;\"><span style=\"color: orange;\">50<\/span><\/code><code style=\"color: black; word-wrap: normal;\">),  \n  <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">primary key<\/span><\/code><code style=\"color: black; word-wrap: normal;\"> (id_produto)  \n );  \n<\/code><\/pre>\n<p><span style=\"color: blue;\"><i>\u00a0<\/i><\/span><\/p>\n<\/div>\n<div>Inserindo registros:<\/p>\n<pre style=\"background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed #cccccc; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\"><code style=\"color: black; word-wrap: normal;\"> <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">insert into<\/span><\/code><code style=\"color: black; word-wrap: normal;\"> produto (id_produto, qtd, nome)  \n <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">values  <\/span><\/code><code style=\"color: black; word-wrap: normal;\">\n  (<\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">null<\/span><\/code><code style=\"color: black; word-wrap: normal;\">, <\/code><code style=\"word-wrap: normal;\"><span style=\"color: orange;\">10<\/span><\/code><code style=\"color: black; word-wrap: normal;\">, <\/code><code style=\"word-wrap: normal;\"><span style=\"color: #274e13;\">'Produto A'<\/span><\/code><code style=\"color: black; word-wrap: normal;\">),  \n  (<\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">null<\/span><\/code><code style=\"color: black; word-wrap: normal;\">, <\/code><code style=\"word-wrap: normal;\"><span style=\"color: orange;\">20<\/span><\/code><code style=\"color: black; word-wrap: normal;\">, <\/code><code style=\"word-wrap: normal;\"><span style=\"color: #274e13;\">'Produto B'<\/span><\/code><code style=\"color: black; word-wrap: normal;\">),  \n  (<\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">null<\/span><\/code><code style=\"color: black; word-wrap: normal;\">, <\/code><code style=\"word-wrap: normal;\"><span style=\"color: orange;\">30<\/span><\/code><code style=\"color: black; word-wrap: normal;\">, <\/code><code style=\"word-wrap: normal;\"><span style=\"color: #274e13;\">'Produto C'<\/span><\/code><code style=\"color: black; word-wrap: normal;\">) ;  \n<\/code><\/pre>\n<p>Consultando os dados registrados:<\/p>\n<pre style=\"background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed #cccccc; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\"><code style=\"color: black; word-wrap: normal;\"> <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">select  <\/span><\/code><code style=\"color: black; word-wrap: normal;\">*  \n <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">from <\/span><\/code><code style=\"color: black; word-wrap: normal;\">produto ;  \n<\/code><\/pre>\n<p>id_produto \u00a0qtd \u00a0 \u00a0 nome<br \/>\n&#8212;&#8212;&#8212;- \u00a0&#8212;&#8212; \u00a0&#8212;&#8212;&#8212;&#8211;<br \/>\n1 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 10 \u00a0 \u00a0 \u00a0Produto A<br \/>\n2 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 20 \u00a0 \u00a0 \u00a0Produto B<br \/>\n3 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 30 \u00a0 \u00a0 \u00a0Produto C<\/p>\n<p>Vamos alterar a posi\u00e7\u00e3o do atributo qtd, deixando-o ap\u00f3s o nome:<\/p>\n<pre style=\"background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed #cccccc; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\"><code style=\"color: black; word-wrap: normal;\"> <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">alter <\/span><\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">table <\/span><\/code><code style=\"color: black; word-wrap: normal;\">produto  \n  change <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">column <\/span><\/code><code style=\"color: black; word-wrap: normal;\">nome nome <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">varchar <\/span><\/code><code style=\"color: black; word-wrap: normal;\">(<\/code><code style=\"word-wrap: normal;\"><span style=\"color: orange;\">50<\/span><\/code><code style=\"color: black; word-wrap: normal;\">) <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">null default null after<\/span><\/code><code style=\"color: black; word-wrap: normal;\"> id_produto ;  \n<\/code><\/pre>\n<p>Feito a altera\u00e7\u00e3o, vamos consultar o resultado realizando um novo select na tabela:<\/p>\n<pre style=\"background-color: #f0f0f0; background-position: initial initial; background-repeat: initial initial; border: 1px dashed #cccccc; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\"><code style=\"color: black; word-wrap: normal;\"> <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">select  <\/span><\/code><code style=\"color: black; word-wrap: normal;\">*  \n <\/code><code style=\"word-wrap: normal;\"><span style=\"color: blue;\">from <\/span><\/code><code style=\"color: black; word-wrap: normal;\">produto ;  \n<\/code><\/pre>\n<p>id_produto \u00a0nome \u00a0 \u00a0 \u00a0 qtd<br \/>\n&#8212;&#8212;&#8212;- \u00a0&#8212;&#8212;&#8212; \u00a0&#8212;&#8212;&#8211;<br \/>\n1 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Produto A \u00a010<br \/>\n2 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Produto B \u00a020<br \/>\n3 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Produto C \u00a030<\/p>\n<p>Veja que nosso objetivo foi alcan\u00e7ado com sucesso, o campo esta na posi\u00e7\u00e3o desejada e, os dados permanecem da mesma forma antes da altera\u00e7\u00e3o.<\/p>\n<p>Explicando um ponto que pode deixar d\u00favidas \u00e9, o motivo do campo nome ter sido especificado duas vezes \u00e9 devido ao fato da sintaxe ser:<\/p>\n<p><i>CHANGE [COLUMN] old_col_name new_col_name<\/i><\/p>\n<p>Traduzindo, o nome do campo antigo (atual) e nome do novo campo, caso seja necess\u00e1rio\u00a0renome\u00e1-lo.<\/p>\n<\/div>\n<div>Agora, como toda altera\u00e7\u00e3o gera impactos direta ou indiretamente, alerto quanto a import\u00e2ncia de verificar a necessidade de replicar essa mudan\u00e7a na camada aplica\u00e7\u00e3o.<\/p>\n<div><\/div>\n<div>Por mais \u00fatil e f\u00e1cil que seja a altera\u00e7\u00e3o, ela\u00a0 n\u00e3o \u00e9 vista como necess\u00e1ria por muitos DBA`s, pois, a ordem dos atributos podem ser manipulada facilmente atrav\u00e9s de select, eu particularmente prefiro a mudan\u00e7a de estrutura, e voc\u00ea?<\/div>\n<div><\/div>\n<div>Um grande abra\u00e7o e at\u00e9 a pr\u00f3xima.<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As tabelas de um modo geral seguem uma ordem l\u00f3gica quando falamos de seus atributos (campos), por exemplo, em uma tabela de produtos \u00e9 comum termos o atributo qtd ap\u00f3s o nome. Mas nem sempre nos deparamos com estruturas assim, e ai, como alterar a estrutura de forma f\u00e1cil, e o mais importante, sem perder &#8230; <a title=\"Reordenando campos em tabela no MySQL\" class=\"read-more\" href=\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\" aria-label=\"More on Reordenando campos em tabela no MySQL\">Ler mais<\/a><\/p>\n","protected":false},"author":1,"featured_media":849,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[272,49],"tags":[],"class_list":["post-456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-banco-de-dados","category-mysql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Reordenando campos em tabela no MySQL<\/title>\n<meta name=\"description\" content=\"Veja como voc\u00ea pode reordenar os campos da sua tabela no MySQL\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Reordenando campos em tabela no MySQL\" \/>\n<meta property=\"og:description\" content=\"Veja como voc\u00ea pode reordenar os campos da sua tabela no MySQL\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"Devtools\" \/>\n<meta property=\"article:published_time\" content=\"2013-06-03T12:22:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-04T21:27:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3000\" \/>\n\t<meta property=\"og:image:height\" content=\"2000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fabiano Abreu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fabiano Abreu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\"},\"author\":{\"name\":\"Fabiano Abreu\",\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\"},\"headline\":\"Reordenando campos em tabela no MySQL\",\"datePublished\":\"2013-06-03T12:22:00+00:00\",\"dateModified\":\"2021-09-04T21:27:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\"},\"wordCount\":309,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\"},\"image\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png\",\"articleSection\":[\"Banco de Dados\",\"MySQL\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\",\"url\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\",\"name\":\"Reordenando campos em tabela no MySQL\",\"isPartOf\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png\",\"datePublished\":\"2013-06-03T12:22:00+00:00\",\"dateModified\":\"2021-09-04T21:27:05+00:00\",\"description\":\"Veja como voc\u00ea pode reordenar os campos da sua tabela no MySQL\",\"breadcrumb\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage\",\"url\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png\",\"contentUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png\",\"width\":3000,\"height\":2000,\"caption\":\"MySQL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/devtools.com.br\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reordenando campos em tabela no MySQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devtools.com.br\/blog\/#website\",\"url\":\"https:\/\/devtools.com.br\/blog\/\",\"name\":\"Devtools\",\"description\":\"Sua caixa de ferramentas online\",\"publisher\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devtools.com.br\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\",\"name\":\"Fabiano Abreu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png\",\"contentUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png\",\"width\":184,\"height\":184,\"caption\":\"Fabiano Abreu\"},\"logo\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/devtools.com.br\/blog\"],\"url\":\"https:\/\/devtools.com.br\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Reordenando campos em tabela no MySQL","description":"Veja como voc\u00ea pode reordenar os campos da sua tabela no MySQL","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/","og_locale":"pt_BR","og_type":"article","og_title":"Reordenando campos em tabela no MySQL","og_description":"Veja como voc\u00ea pode reordenar os campos da sua tabela no MySQL","og_url":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/","og_site_name":"Devtools","article_published_time":"2013-06-03T12:22:00+00:00","article_modified_time":"2021-09-04T21:27:05+00:00","og_image":[{"width":3000,"height":2000,"url":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png","type":"image\/png"}],"author":"Fabiano Abreu","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Fabiano Abreu","Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#article","isPartOf":{"@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/"},"author":{"name":"Fabiano Abreu","@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed"},"headline":"Reordenando campos em tabela no MySQL","datePublished":"2013-06-03T12:22:00+00:00","dateModified":"2021-09-04T21:27:05+00:00","mainEntityOfPage":{"@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/"},"wordCount":309,"commentCount":2,"publisher":{"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed"},"image":{"@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png","articleSection":["Banco de Dados","MySQL"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/","url":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/","name":"Reordenando campos em tabela no MySQL","isPartOf":{"@id":"https:\/\/devtools.com.br\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage"},"image":{"@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png","datePublished":"2013-06-03T12:22:00+00:00","dateModified":"2021-09-04T21:27:05+00:00","description":"Veja como voc\u00ea pode reordenar os campos da sua tabela no MySQL","breadcrumb":{"@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#primaryimage","url":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png","contentUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2013\/06\/MySQL-Logo.wine_.png","width":3000,"height":2000,"caption":"MySQL"},{"@type":"BreadcrumbList","@id":"https:\/\/devtools.com.br\/blog\/reordenando-campos-em-tabela-no-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/devtools.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Reordenando campos em tabela no MySQL"}]},{"@type":"WebSite","@id":"https:\/\/devtools.com.br\/blog\/#website","url":"https:\/\/devtools.com.br\/blog\/","name":"Devtools","description":"Sua caixa de ferramentas online","publisher":{"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devtools.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":["Person","Organization"],"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed","name":"Fabiano Abreu","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/","url":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png","contentUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png","width":184,"height":184,"caption":"Fabiano Abreu"},"logo":{"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/devtools.com.br\/blog"],"url":"https:\/\/devtools.com.br\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/comments?post=456"}],"version-history":[{"count":2,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":1340,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts\/456\/revisions\/1340"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/media\/849"}],"wp:attachment":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/media?parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/categories?post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/tags?post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}