SQLServerCentral Article

SQL Prompt Tips #6 - Insert Semicolons

,

One of the more exciting new features in SQL Prompt v6.4 is the ability to add semi colons to your code. T-SQL added semicolons as optional terminators in the language, though there are a few places where the previous statement must be terminated with a semicolon for your code to parse.

As developers slowly begin to add semicolons to their code, we find that many people forget to add them as they write code and either must add them later or leave them out. 

SQL Prompt will add those semicolons for you if you use this quick shortcut: CTRL+B, C. This means hold the Control key, then press the  B, then press the C.

You can see a quick video of this tip below:

Rate

4.45 (11)

You rated this post out of 5. Change rating

Share

Share

Rate

4.45 (11)

You rated this post out of 5. Change rating