Collections:
Including Comments in SQL Statements in MySQL
How To Include Comments in SQL Statements in MySQL?
✍: FYIcenter.com
If you want to include comments in a SQL statement, you can first enter "--", then enter your comment until the end of the line. The tutorial exercise below shows you some good examples:
SELECT 'Hello world!' FROM DUAL; -- My first SQL statement!
INSERT INTO links VALUES ('FYIcenter.com'); -- Top rated!
CREATE TABLE faq (
id INTEGER, -- primary key
title VARCHAR(80) -- FAQ title
);
⇒ Entering Character Strings in MySQL
⇐ Evaluating Expressions with SELECT Statements in MySQL
2018-04-12, 3006🔥, 0💬
Popular Posts:
How To Get Year, Month and Day Out of DATETIME Values in SQL Server Transact-SQL? You can use DATEPA...
How To Break Query Output into Pages in MySQL? If you have a query that returns hundreds of rows, an...
Where to find answers to frequently asked questions on PHP Connections and Query Execution for MySQL...
How to continue to the next iteration of a WHILE loop in SQL Server Transact-SQL? How to use CONTINU...
Where to find answers to frequently asked questions on Downloading and Installing SQL Server 2005 Ex...