From 63847496f14c813a5d80efd5b7de0f1294ffe1e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:07:11 +0200 Subject: Adding upstream version 3.45.1. Signed-off-by: Daniel Baumann --- www/lang_comment.html | 209 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 www/lang_comment.html (limited to 'www/lang_comment.html') diff --git a/www/lang_comment.html b/www/lang_comment.html new file mode 100644 index 0000000..b2dfe46 --- /dev/null +++ b/www/lang_comment.html @@ -0,0 +1,209 @@ + + + + + +SQL Comment Syntax + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ +
+
+
+SQL Comment Syntax +
+
+ + + + + +

comment-syntax: +

+
+
+ + + + + + +-- + + + +anything-except-newline + + + + + + + + + +newline + +end-of-input + + + + + + + + + +/* + + + + + + +anything-except-*/ + +*/ + + + + + + + + + +
+
+ + +

Comments are not SQL commands, but can occur within the text of +SQL queries passed to sqlite3_prepare_v2() and related interfaces. +Comments are treated as whitespace by the parser. +Comments can begin anywhere whitespace +can be found, including inside expressions that span multiple lines. +

+ +

SQL comments begin with two consecutive "-" characters (ASCII 0x2d) +and extend up to and including the next newline character (ASCII 0x0a) +or until the end of input, whichever comes first.

+ +

C-style comments begin +with "/*" and extend up to and including the next "*/" character pair +or until the end of input, whichever comes first. C-style comments +can span multiple lines.

+ +

Comments can appear anywhere whitespace can occur, +including inside expressions and in the middle of other SQL statements. +Comments do not nest. +

+

This page last modified on 2022-01-08 05:02:57 UTC

+ -- cgit v1.2.3