Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
lang_comment.html

Index Summary Markup Original


R-32737-17936-16355-61809-23249-50193-59951-04545 tcl slt th3 src

Comments are not SQL commands, but can occur within the text of SQL queries passed to sqlite3_prepare_v2() and related interfaces.

th3/req1/comment01.test:22

/* IMP: R-32737-17936 */
# EVIDENCE-OF: R-32737-17936 Comments are not SQL commands, but can
# occur within the text of SQL queries passed to sqlite3_prepare_v2()
# and related interfaces.

R-22934-25134-31918-65183-03263-52759-06599-24509 tcl slt th3 src

Comments are treated as whitespace by the parser.

src/tokenize.c:291   src/tokenize.c:327

/* IMP: R-22934-25134 */
# EVIDENCE-OF: R-22934-25134 Comments are treated as whitespace by the
# parser.

R-26245-27007-61091-63162-56268-13882-14164-49256 tcl slt th3 src

Comments can begin anywhere whitespace can be found, including inside expressions that span multiple lines.

th3/req1/comment01.test:26

/* IMP: R-26245-27007 */
# EVIDENCE-OF: R-26245-27007 Comments can begin anywhere whitespace can
# be found, including inside expressions that span multiple lines.

R-26835-34471-30842-38170-16771-41578-05053-31515 tcl slt th3 src

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.

th3/req1/comment01.test:44

/* IMP: R-26835-34471 */
# EVIDENCE-OF: R-26835-34471 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.

R-35698-25375-34264-35367-42002-17994-39861-33131 tcl slt th3 src

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

th3/req1/comment01.test:60

/* IMP: R-35698-25375 */
# EVIDENCE-OF: R-35698-25375 C-style comments begin with "/*" and extend
# up to and including the next "*/" character pair or until the end of
# input, whichever comes first.

R-24016-17929-42002-59431-23117-37264-43384-47268 tcl slt th3 src

C-style comments can span multiple lines.

th3/req1/comment01.test:64

/* IMP: R-24016-17929 */
# EVIDENCE-OF: R-24016-17929 C-style comments can span multiple lines.

R-62338-03151-32833-50529-63145-58374-11729-12446 tcl slt th3 src

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

th3/req1/comment01.test:76

/* IMP: R-62338-03151 */
# EVIDENCE-OF: R-62338-03151 Comments can appear anywhere whitespace can
# occur, including inside expressions and in the middle of other SQL
# statements.

R-41132-04368-54784-12197-53730-05205-63815-61247 tcl slt th3 src

Comments do not nest.

th3/req1/comment01.test:93

/* IMP: R-41132-04368 */
# EVIDENCE-OF: R-41132-04368 Comments do not nest.