Languages
[Edit]
EN

MS SQL Server - Comments

0 points
Created by:
Huzaifa-Ball
475

In this article, we would like to show you how to use comments in MS SQL Server.

Quick solution:

Practical examples

Edit

Example 1

Edit

In this example, we use a single-line comment as a code fragment explanation:

Example 2

Edit

In this we use a single-line comment to ignore a statement at the end of the line:

Example 3

Edit

In this example we use a multi-line comment as a code fragment explanation:

Example 4

Edit

In this example, we use a multi-line comment to ignore many statements:

Example 5

Edit

In this example, we use a multi-line comment to ignore part of a line:

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Cross technology - Comments

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join