postgresql/src/test/regress/sql/comments.sql
1997-09-18 03:54:19 +00:00

16 lines
418 B
SQL

--
-- Comments
--
SELECT 'trailing' AS first; -- trailing single line
SELECT /* embedded single line */ 'embedded' AS second;
SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line
SELECT 'before multi-line' AS fourth;
/* This is an example of SQL which should not execute:
* select 'multi-line';
*/
SELECT 'after multi-line' AS fifth;
/* and this is the end of the file */