Programming in MS SQL Server 2012 |
Comment StatementComment is describes a user defined notes about program. Comments can be define on a separate line or else nested at the end of a Transact-SQL commend line, or within a Transact-SQL statement. SQL Server does not execute the particular comments. Transact-SQL supports two types of comments. Single line comment must define with -- symbol like -- sample comment line. Multi lines comments must start and end with /* ... */ like /* Comment Lines */ -- Example 72 --
/* Comment Text */
/* Comment Text Comment Text Comment Text */
-- Comment Text 01 -- Comment Test 02 -- Comment Test 03 Query Output Screen |
* * * * *