Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
47eeb5e6
Commit
47eeb5e6
authored
Aug 12, 2010
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back out syntax case changes --- seems they were intentional.
parent
568e7093
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/src/sgml/syntax.sgml
doc/src/sgml/syntax.sgml
+6
-6
No files found.
doc/src/sgml/syntax.sgml
View file @
47eeb5e6
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.15
1 2010/08/11 21:48:51
momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.15
2 2010/08/12 02:03:58
momjian Exp $ -->
<chapter id="sql-syntax">
<title>SQL Syntax</title>
...
...
@@ -56,9 +56,9 @@
<para>
For example, the following is (syntactically) valid SQL input:
<programlisting>
SELECT * FROM
my_table
;
UPDATE
my_table SET a
= 5;
INSERT INTO
my_table
VALUES (3, 'hi there');
SELECT * FROM
MY_TABLE
;
UPDATE
MY_TABLE SET A
= 5;
INSERT INTO
MY_TABLE
VALUES (3, 'hi there');
</programlisting>
This is a sequence of three commands, one per line (although this
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');
</indexterm>
Key words and unquoted identifiers are case insensitive. Therefore:
<programlisting>
UPDATE
my_table SET a
= 5;
UPDATE
MY_TABLE SET A
= 5;
</programlisting>
can equivalently be written as:
<programlisting>
UPDATE my_table SE
T a = 5;
uPDaTE my_TabLE Se
T a = 5;
</programlisting>
A convention often used is to write key words in upper
case and names in lower case, e.g.:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment