About 72,700,000 results
Open links in new tab
  1. SQL Comments - W3Schools

    Comments are used to explain sections of SQL statements, or to prevent execution of SQL statements. Note: Comments are not supported in Microsoft Access databases! Single line …

  2. How to Comment in SQL - LearnSQL.com

    Learn how to add comments to your SQL code effortlessly! Discover multiple ways to make your code more readable.

  3. SQL Comments - GeeksforGeeks

    Jan 10, 2025 · In this article, we will explain different types of SQL comments: single-line comments, multi-line comments, and in-line comments. We’ll also explore their syntax, provide …

  4. How to Comment in SQL: A Beginner’s Guide

    May 18, 2023 · In SQL, comments are created by starting the comment with two dashes (–) for single-line comments, or by enclosing the comment between /* and */ for multi-line comments.

  5. SQL Commenting Best Practices | The Table — Databases and SQL

    May 12, 2025 · Learn how to write effective SQL comments with syntax examples, best practices, and tips for MySQL, PostgreSQL, and more.

  6. Comment) (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Use two hyphens (--) for single-line or nested comments. Comments inserted with -- are terminated by a new line, which is specified with a carriage return character (U+000A), …

  7. How to Add a Comment in SQL? - AEANET

    Jun 22, 2025 · This article explains how to add a comment in SQL using single-line and multi-line methods, ensuring your SQL code is well-documented and easy to understand, boosting …