MySql数据库有哪几种注释方法?

MySql数据库总共有3种注释的写法,如下:

#DELETE FROM SeatInformation  
/*DELETE FROM SeatInformation */
-- DELETE FROM SeatInformation

特别注意:  <span style="box-sizing: border-box; outline: 0px; overflow-wrap: break-word; font-family: -apple-system, "SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif, SimHei, SimSun; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; line-height: 26px !important;"–<  这种注释后面要加一个空格

No tags for this post.

相关文章

发表评论

邮箱地址不会被公开。 必填项已用*标注