lang_comment.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html><head>
  3. <title>SQLite Query Language: comment</title>
  4. <style type="text/css">
  5. body {
  6. margin: auto;
  7. font-family: Verdana, sans-serif;
  8. padding: 8px 1%;
  9. }
  10. a { color: #45735f }
  11. a:visited { color: #734559 }
  12. .logo { position:absolute; margin:3px; }
  13. .tagline {
  14. float:right;
  15. text-align:right;
  16. font-style:italic;
  17. width:240px;
  18. margin:12px;
  19. margin-top:58px;
  20. }
  21. .toolbar {
  22. font-variant: small-caps;
  23. text-align: center;
  24. line-height: 1.6em;
  25. margin: 0;
  26. padding:1px 8px;
  27. }
  28. .toolbar a { color: white; text-decoration: none; padding: 6px 12px; }
  29. .toolbar a:visited { color: white; }
  30. .toolbar a:hover { color: #80a796; background: white; }
  31. .content { margin: 5%; }
  32. .content dt { font-weight:bold; }
  33. .content dd { margin-bottom: 25px; margin-left:20%; }
  34. .content ul { padding:0px; padding-left: 15px; margin:0px; }
  35. /* rounded corners */
  36. .se { background: url(images/se.png) 100% 100% no-repeat #80a796}
  37. .sw { background: url(images/sw.png) 0% 100% no-repeat }
  38. .ne { background: url(images/ne.png) 100% 0% no-repeat }
  39. .nw { background: url(images/nw.png) 0% 0% no-repeat }
  40. </style>
  41. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  42. </head>
  43. <body>
  44. <div><!-- container div to satisfy validator -->
  45. <a href="lang.html">
  46. <h2 align="center">SQL As Understood By SQLite</h2></a><h1>comment</h1><h4><a href="syntaxdiagrams.html#comment-syntax">comment-syntax:</a></h4><blockquote> <img alt="syntax diagram comment-syntax" src="images/syntax/comment-syntax.gif"></img> </blockquote>
  47. <p>Comments aren't SQL commands, but can occur within the text of
  48. SQL queries.
  49. Comments are
  50. treated as whitespace by the parser. They can begin anywhere whitespace
  51. can be found, including inside expressions that span multiple lines.
  52. </p>
  53. <p> SQL comments begin with two consecutive "-" characters (ASCII 0x2d)
  54. and extend up to and including the next newline character (ASCII 0x0a)
  55. or until the end of input, whichever comes first.</p>
  56. <p> C comments can span any number of lines. C-style comments begin
  57. with "/*" and extend up to and including the next "*/" character pair
  58. or until the end of input, whichever comes first. C-style comments
  59. can span multiple lines. </p>
  60. <p> Comments can appear anywhere whitespace can occur,
  61. including inside expressions and in the middle of other SQL statements.
  62. Comments do not nest.
  63. </p>