Search the Whole World Here.,.,

SQL - Multi-line Comments




Multi-line comments start with /* and end with */.
Any text between /* and */ will be ignored.

Example

A multi-line comment as an explanation:
/*Select all the columns
of all the records
in the Customers table:*/

SELECT * FROM Customers;
Try it Yourself »

Example

A multi-line comment to ignore many statements:
/*SELECT * FROM Customers;
SELECT * FROM Products;
SELECT * FROM Orders;
SELECT * FROM Categories;*/

SELECT * FROM Suppliers;
Try it Yourself »


EmoticonEmoticon