ALT + SHIFT + SETA PARA BAIXO ou ALT + SHIFT + SETA PARA CIMA no SSMS

Fala pessoal, tudo bem com vocês?

Espero que sim e vamos de mais dicas.

Essa dica é bem simples, e ajuda muito quando queremos adicionar vírgula, espaço, ou até mesmo textos para mais de uma linha de forma única e rápida nas consultas T-SQL.

Para isso, clique ao lado de onde deseja escrever e aperte as teclas de atalho “ALT+SHIFT+SETA PARA BAIXO OU PARA CIMA“, para começar a marcar onde pretende replicar seu texto.

Veja o exemplo a seguir, um simples SELECT sem as vírgulas(,) e logo após usando as teclas de atalho “ALT+SHIFT+SETA PARA BAIXO OU PARA CIMA” para aplicar as vírgulas(,) para todas as linhas.

Usando as teclas de atalho “ALT+SHIFT+SETA PARA BAIXO OU PARA CIMA“, veja que o cursor ficou selecionado para todas as linhas e logo foi aplicado a vírgula(,);

Bacana né?

Espero ter ajudado com essa simples contribuição.
Desejo a todos uma ótima semana, um grande abraço e até o próximo post pessoal!

Felippe Santos

ALT + SHIFT + DOWN ARROW or ALT + SHIFT + UP ARROW at SSMS

Hi Guys, how are you doing?

I hope you are doing well! Here I come to share one more tip with you.

This tip is really simple and really helps when we want to add comma, space or even same texts in more than one line in a simple and fast way.
For that, click on the side where you wish to write and click on hotkeys “ALT + SHIFT + DOWN ARROW or ALT + SHIFT + UP ARROW” to begin to select where you
intend to duplicate your text.


See the following example, a simple command without the commas and soon after using the hotkeys “ALT + SHIFT + DOWN ARROW or ALT + SHIFT + UP ARROW
to apply the comma to all lines.

That’s cool, isn’t it?

I hope I helped you with this simple contribution.
I wish you all have a great week, warm hugs and I´ll see you on our next post guys.

Santos, Felippe