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, 2559🔥, 0💬
Popular Posts:
Where to find answers to frequently asked questions on Transaction Management: Commit or Rollback in...
What Happens to the Current Transaction If a START TRANSACTION Is Executed in MySQL? If you are in a...
How To Convert Character Strings into Numeric Values in SQL Server Transact-SQL? Sometimes you need ...
What Happens to the Current Transaction If a START TRANSACTION Is Executed in MySQL? If you are in a...
What Is Transport Network Substrate (TNS) in Oracle? TNS, Transport Network Substrate, is a foundati...