Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d9ad88

Browse files
author
Thomas G. Lockhart
committed
Explicitly test various comment syntaxes.
1 parentc407a38 commit1d9ad88

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
QUERY: SELECT 'trailing' AS first;
2+
first
3+
--------
4+
trailing
5+
(1 row)
6+
7+
QUERY:
8+
SELECT /* embedded single line */ 'embedded' AS second;
9+
second
10+
--------
11+
embedded
12+
(1 row)
13+
14+
QUERY: SELECT /* both embedded and trailing single line */ 'both' AS third;
15+
third
16+
-----
17+
both
18+
(1 row)
19+
20+
QUERY:
21+
SELECT 'before multi-line' AS fourth;
22+
fourth
23+
-----------------
24+
before multi-line
25+
(1 row)
26+
27+
QUERY: /* This is an example of SQL which should not execute:
28+
* select 'multi-line';
29+
*/
30+
SELECT 'after multi-line' AS fifth;
31+
fifth
32+
----------------
33+
after multi-line
34+
(1 row)
35+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp