Lesson 2. Code Comments With T-SQL

This is how you comment out code you do not want to run. There are two kinds of code comment techniques. Single line and multi-line.

Examples

Single And Multi-Line Comment

USE AdventureWorks2016

--This is a single line comment.

/*
This is a 
multi-line
comment.
*/

Last updated