sql comments
snippet in sql

SQL comment

user4431

/* Multi-Line Comment */
-- Single-Line comment

comment in sql

user2680

/* Comment */

sql comments

user4301

Single line comments start with –- Any text after these 2 characters to the end of the line will be
ignored.
Multiline comments start with /* and end with */. They stretch across multiple lines until the
closing characters have been found.
-- My Select query
/*
This is my select query.
It grabs all rows of data from the users table
*/

sql comment

user3161


--Select all:

SELECT * FROM Customers;
 

sql comment

user9556

/* Multi-Line
comment
goes here */

-- Single-Line comment goes here