Back out syntax case changes --- seems they were intentional.
authorBruce Momjian
Thu, 12 Aug 2010 02:03:58 +0000 (02:03 +0000)
committerBruce Momjian
Thu, 12 Aug 2010 02:03:58 +0000 (02:03 +0000)
doc/src/sgml/syntax.sgml

index d2d14dbe9fcfd0fefbcbc3cd9b845c04dc20ef59..4ae3df325c9c2e937c4ed854460559e1491e78c1 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  SQL Syntax
@@ -56,9 +56,9 @@
    
     For example, the following is (syntactically) valid SQL input:
 
-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');
 
     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');
     
     Key words and unquoted identifiers are case insensitive.  Therefore:
 
-UPDATE my_table SET a = 5;
+UPDATE MY_TABLE SET A = 5;
 
     can equivalently be written as:
 
-UPDATE my_table SET a = 5;
+uPDaTE my_TabLE SeT a = 5;
 
     A convention often used is to write key words in upper
     case and names in lower case, e.g.: