{"id":7307,"date":"2017-02-06T08:54:10","date_gmt":"2017-02-06T10:54:10","guid":{"rendered":"http:\/\/www.fabriciolima.net\/?p=7307"},"modified":"2017-02-06T08:54:10","modified_gmt":"2017-02-06T10:54:10","slug":"video-melhorando-a-performance-de-uma-consulta-com-like-string-alterando-a-collation","status":"publish","type":"post","link":"https:\/\/fabriciolima.net\/blog\/2017\/02\/06\/video-melhorando-a-performance-de-uma-consulta-com-like-string-alterando-a-collation\/","title":{"rendered":"V\u00eddeo: Melhorando a performance de uma consulta com like &#8216;%String%&#8217; alterando a Collation"},"content":{"rendered":"<p>Fala Pessoal,<\/p>\n<p>Nesse v\u00eddeo de hoje vou\u00a0dar uma dica de tuning que\u00a0s\u00f3 aprendi agora em 2017. Uma coisa simples que\u00a0pode melhorar drasticamente uma consulta como essa abaixo:<\/p>\n<p>Select\u00a0Colunas,XXX<br \/>\nFROM Tabela<br \/>\nWHERE Coluna like &#8216;%String%&#8217;<\/p>\n<p>\u00c9 s\u00e9rio&#8230; Parece m\u00e1gica&#8230; Assista&#8230; Teste&#8230; Compartilhe&#8230;<\/p>\n<p>Veja no v\u00eddeo abaixo:<\/p>\n<p><iframe loading=\"lazy\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/cyteAND34I0?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Segue os scripts utilizados no v\u00eddeo: <a href=\"https:\/\/www.fabriciolima.net\/blog\/wp-content\/uploads\/2017\/02\/ScriptPostCollation.txt\" target=\"_blank\">Download Script<\/a><\/p>\n<p><b>Gostou dessa dica?<\/b><\/p>\n<p>Curta, comente, compartilhe com os coleguinhas\u2026<\/p>\n<p>Assine meu canal no <a class=\"external-link wpel-icon-left\" href=\"https:\/\/www.youtube.com\/channel\/UCeBRAO_LLrUdSrOXIywjzRA\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\" data-wpel-link=\"external\">Youtube<\/a> e curta minha <a class=\"external-link wpel-icon-left\" href=\"https:\/\/www.facebook.com\/FabricioLimaSolucoesemBancodeDados\/\" target=\"_blank\" rel=\"external noopener noreferrer nofollow\" data-wpel-link=\"external\">P\u00e1gina no Facebook<\/a> para receber Dicas de Leituras e Eventos sobre SQL Server.<\/p>\n<p>At\u00e9 a pr\u00f3xima.<\/p>\n<p>Abra\u00e7os,<\/p>\n<p>Fabr\u00edcio Lima<\/p>\n<p>MCITP \u2013 Database Administrator<\/p>\n<p>Consultor e Instrutor SQL Server<\/p>\n<p>Trabalha com SQL Server desde 2006<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fala Pessoal, Nesse v\u00eddeo de hoje vou\u00a0dar uma dica de tuning que\u00a0s\u00f3 aprendi agora em 2017. Uma coisa simples que\u00a0pode melhorar drasticamente uma consulta como essa abaixo: Select\u00a0Colunas,XXX FROM Tabela WHERE Coluna like &#8216;%String%&#8217; \u00c9 s\u00e9rio&#8230; Parece m\u00e1gica&#8230; Assista&#8230; Teste&#8230; Compartilhe&#8230; Veja no v\u00eddeo abaixo: Segue os scripts utilizados no v\u00eddeo: Download Script Gostou dessa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[3,6,942,1248,33,280],"tags":[1432,475,1434,1433,1429,1430,63,1435,1431,953],"class_list":["post-7307","post","type-post","status-publish","format-standard","hentry","category-administracao-de-bd","category-casos-do-dia-a-dia","category-consultoria-sql-server","category-queries-do-dia-a-dia","category-sql-server","category-virtual-pass-br","tag-busca-com-like","tag-collation","tag-collation-sql-server","tag-lentidao-like","tag-lentidao-sql-server","tag-like-sql-server","tag-performance","tag-performance-collation","tag-performance-like","tag-tuning-sql-server"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts\/7307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/comments?post=7307"}],"version-history":[{"count":0,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts\/7307\/revisions"}],"wp:attachment":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/media?parent=7307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/categories?post=7307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/tags?post=7307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}