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, 2582🔥, 0💬
Popular Posts:
How To List All Stored Procedures in the Current Database in SQL Server Transact-SQL? If you want to...
What Are the Differences between BINARY and VARBINARY in MySQL? Both BINARY and VARBINARY are both b...
How to download Microsoft SQL Server 2005 Express Edition in SQL Server? Microsoft SQL Server 2005 E...
How To Get Help Information from the Server in MySQL? While you are at the "mysql>" prompt, y...
How to calculate the storage size of a JSON (JavaScript Object Notation) value using the JSON_STORAG...