[SQL 2012] Melhorias SSMS
No SSMS (SQL Server Management Studio) do SQL 2012 foi implementado
1) SNIPPET
Para acioná-lo basta teclar Ctrl K, Ctrl X ou clicar com o botão direito onde deseja inserir o código.
<img src="http://www.ecode10.com/artigos/c2a325c0-5d95-4fca-8c6a-e421d8a1dcc5-Post24%20-%20Snippet1.jpg">
Escolha o objeto a ser criado:
<img src="http://www.ecode10.com/artigos/473b91be-78fc-447d-bcaf-e2e7f4fdd07e-Post24%20-%20Snippet2.jpg">
Escolha um dos tipos do objeto:
<img src="http://www.ecode10.com/artigos/55f51f85-a851-486e-bab3-32a4e4077914-Post24%20-%20Snippet3.jpg">
Ele cria o comando, agora, basta adaptá-lo:
<img src="http://www.ecode10.com/artigos/f4e76ac6-75ab-4669-9cf4-a69b55ec279c-Post24%20-%20Snippet4.jpg">
2) SURROUND
O Surround auto completa com estruturas(While, IF, Begin)
<img src="http://www.ecode10.com/artigos/a5c18324-851c-462d-ac4b-1900d503038a-Post24%20-%20Surround1.jpg">
Escolha a estrutura:
<img src="http://www.ecode10.com/artigos/37901dc9-3e80-417a-a99e-3580e878e30f-Post24%20-%20Surround2.jpg">
Veja que ele coloca o comando já dentro da estrutura, agora, basta adaptá-lo:
<img src="http://www.ecode10.com/artigos/0db160d2-cdd5-40c6-989d-4f7419a914bd-Post24%20-%20Zoom1.jpg">
Muitas vezes durante uma apresentação precisamos aumentar a visualização, para que o pessoal do fundo consiga enxergar.
Isso era trabalhoso, pois tÃnhamos que alterar o tamanho da fonte.
<img src="http://www.ecode10.com/artigos/c8915e24-3a5b-4983-9e32-0350d039f798-Post24%20-%20Surround3.jpg">
Related articles
How to call a function inside my SQL Server?
Database function function and function
How to create an SQL to do multiple inserts in one statement?
Practical examples
Short: SQL Update using begin try and begin transaction
Commit and Rollback command
Getting the last 120 months of data from my database
how to do it in SQL language?
How to create a variable to use the IN clause SELECT query SQL?
Database code part
SQL Update using Try Catch
Na prática com exemplo real
Comando SQL Update usando Try Catch
Na prática e no database
SELECT Format Date Time for many countries
It is a good tip to use day by day
Creating a SiteMap using SQL Database
Como indexar melhor meu site e links?
Transformando linhas em colunas usando SQL Server
veja como funciona
Ozimar Henrique