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, 2419🔥, 0💬
Popular Posts:
How to execute statements under given conditions in SQL Server Transact-SQL? How to use IF ... ELSE ...
What is dba.FYIcenter.com Website about? dba.FYIcenter.com is a Website for DBAs (database administr...
What Privilege Is Needed for a User to Delete Rows from Tables in Another Schema in Oracle? For a us...
How to change the data type of an existing column with "ALTER TABLE" statements in SQL Server? Somet...
Is SQL Server Transact-SQL case sensitive? No. Transact-SQL is not case sensitive. Like the standard...