Oracle PLSQL : Comments within SQL - This Oracle tutorial explains how to use comments within your SQL statements in Oracle PLSQL with syntax and examples. Slash Star (Block Comment) (Transact-SQL) - SQL Transact-SQL Syntax Conventions. Commenting and Uncommenting Code in SQL You can comment out selected lines of code from the menu bar: Edit - Advanced - Click aposComment Selectionapos To uncomment lines of code in SQL Server Management Studio (SSMS ) Query Window, select lines of code you want to uncomment and hit the keyboard shortcut aposCTRLK apos followed by aposCTRLU apos. MySQL : MySQL Reference Manual : The KEYBLOCK SIZE keyword in the following comment is executed only by servers from MySQL or higher: CREATE TABLE t1(a INT, KEY (a) !501KEYBLOCK SIZE 10The comment syntax just described applies to how the mysqld server parses SQL statements. Textofcomment Is the text of the comment.
Multiple-line comments must be indicated by and.