(1)–:表示单行注释(2)/*…*/:用于多行(块)注释
例:
use pubs –选择数据库
–first line of a multiple-line comment.
/*first line of a multiple-line comment. second line of a multiple-line comment.*/
sql server 2005 注释快捷键 选中语句 先按ctrl+k 再按ctrl+c
sql server 2005 取消注释快捷键 选中语句 先按ctrl+k 再按ctrl+u