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

Commita4a3ef3

Browse files
committed
Properly lowercase identifiers, uppercase keywords, in doc examples
1 parentc9ae257 commita4a3ef3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎doc/src/sgml/syntax.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.150 2010/08/05 18:21:17 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.151 2010/08/1121:48:51 momjian Exp $ -->
22

33
<chapter id="sql-syntax">
44
<title>SQL Syntax</title>
@@ -56,9 +56,9 @@
5656
<para>
5757
For example, the following is (syntactically) valid SQL input:
5858
<programlisting>
59-
SELECT * FROMMY_TABLE;
60-
UPDATEMY_TABLE SETA = 5;
61-
INSERT INTOMY_TABLE VALUES (3, 'hi there');
59+
SELECT * FROMmy_table;
60+
UPDATEmy_table SETa = 5;
61+
INSERT INTOmy_table VALUES (3, 'hi there');
6262
</programlisting>
6363
This is a sequence of three commands, one per line (although this
6464
is not required; more than one command can be on a line, and
@@ -146,11 +146,11 @@ INSERT INTO MY_TABLE VALUES (3, 'hi there');
146146
</indexterm>
147147
Key words and unquoted identifiers are case insensitive. Therefore:
148148
<programlisting>
149-
UPDATEMY_TABLE SETA = 5;
149+
UPDATEmy_table SETa = 5;
150150
</programlisting>
151151
can equivalently be written as:
152152
<programlisting>
153-
uPDaTE my_TabLE SeT a = 5;
153+
UPDATE my_table SET a = 5;
154154
</programlisting>
155155
A convention often used is to write key words in upper
156156
case and names in lower case, e.g.:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp