Database |> Language |> 

Comments

Contents

Definition

Comments are an effective way to annotate code for other people viewing and collaborating on it. Like in PostgreSQL, comments in LSD SQL can either be single line or multiline.

Single line comment

A single line comment is prepended by two dashes as shown below:

-- Here is a single line comment!

Multi line comment

A multi line comment begins with a /* then ends with a */ as shown below:

/* Wahoo
   More lines
   In one comment */

Related: