Single-line comments : Comments « Postgre SQL « PostgreSQL






Single-line comments


postgres=# -- Single-line comments
postgres=#
postgres=# SELECT 'Test' -- This can follow valid SQL tokens,
postgres-#              -- or be on a line of it own.
postgres-# AS example;
 example
---------
 Test
(1 row)

postgres=#
           
       








Related examples in the same category

1.Multiline comments