{"id":107,"date":"2012-04-29T18:57:00","date_gmt":"2012-04-29T17:57:00","guid":{"rendered":"https:\/\/blogfvinhas.wordpress.com\/?p=107"},"modified":"2012-04-29T18:57:00","modified_gmt":"2012-04-29T17:57:00","slug":"error-in-save-changes-sql","status":"publish","type":"post","link":"https:\/\/blog.fvinhas.com\/index.php\/2012\/04\/29\/error-in-save-changes-sql\/","title":{"rendered":"Error in Save Changes SQL"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>O erro abaixo ocorre quando se tenta fazer altera\u00e7\u00f5es numa tabela em SQL server:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"416\" height=\"184\" src=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-4.png?w=416\" alt=\"\" class=\"wp-image-109\" srcset=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-4.png 416w, https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-4-300x133.png 300w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/figure>\n\n\n\n<p>Acima foi criada uma tabela tipo_artigo, onde foi gravada apenas com a chave e tipo_artigo, no entanto pretende-se alterar a tabela, mas ao editar a tabela d\u00e1 o erro abaixo:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"435\" height=\"347\" src=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-5.png?w=435\" alt=\"\" class=\"wp-image-110\" srcset=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-5.png 435w, https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-5-300x239.png 300w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/figure>\n\n\n\n<p>Para resolver dever\u00e1 aceder a:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>TOOLS\/OPTIONS<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"459\" height=\"123\" src=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-6.png?w=459\" alt=\"\" class=\"wp-image-111\" srcset=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-6.png 459w, https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-6-300x80.png 300w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/figure>\n\n\n\n<p>Dever\u00e1 ser seleccionado do lado esquerdo a op\u00e7\u00e3o Designers e retirar o visto na op\u00e7\u00e3o:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u201cPrevent saving changes that requeire table re-creation\u201d<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"294\" src=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-7.png?w=502\" alt=\"\" class=\"wp-image-112\" srcset=\"https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-7.png 502w, https:\/\/blog.fvinhas.com\/wp-content\/uploads\/2024\/03\/image-7-300x176.png 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<p>E pronto, problema resolvido, j\u00e1 pode ser alterada a tabela sem qualquer problema.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>O erro abaixo ocorre quando se tenta fazer altera\u00e7\u00f5es numa tabela em SQL server: Acima foi criada uma tabela tipo_artigo, onde foi gravada apenas com a chave e tipo_artigo, no entanto pretende-se alterar a tabela, mas ao editar a tabela d\u00e1 o erro abaixo: Para resolver dever\u00e1 aceder a: TOOLS\/OPTIONS Dever\u00e1 ser seleccionado do lado &#8230; <a title=\"Error in Save Changes SQL\" class=\"read-more\" href=\"https:\/\/blog.fvinhas.com\/index.php\/2012\/04\/29\/error-in-save-changes-sql\/\" aria-label=\"Read more about Error in Save Changes SQL\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[21,38,67,80,86],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-changes","tag-error","tag-prevent","tag-save","tag-sql"],"_links":{"self":[{"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":0,"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fvinhas.com\/index.php\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}