Index: doc/src/sgml/dml.sgml
===================================================================
RCS file: /var/lib/cvs/pgsql/doc/src/sgml/dml.sgml,v
retrieving revision 1.10
diff -c -r1.10 dml.sgml
*** doc/src/sgml/dml.sgml 22 Jan 2005 22:56:35 -0000 1.10
--- doc/src/sgml/dml.sgml 1 Mar 2005 23:39:45 -0000
***************
*** 38,47 ****
! To create a new row, use the INSERT command.
! The command requires the table name and a value for each of the
! columns of the table. For example, consider the products table
! from :
CREATE TABLE products (
product_no integer,
--- 38,47 ----
! To create a new row, use the command. The command requires the
! table name and a value for each of the columns of the table. For
! example, consider the products table from :
CREATE TABLE products (
product_no integer,
***************
*** 98,104 ****
To do bulk loads
, that is, inserting a lot of data,
take a look at the command. It is not as flexible as the
! INSERT command, but is more efficient.
--- 98,106 ----
To do bulk loads
, that is, inserting a lot of data,
take a look at the command. It is not as flexible as the
! INSERT command, but is more efficient. Refer to
! for more information on improving bulk
! loading performance.
***************
*** 188,194 ****
You can update more than one column in an
! UPDATE command by listing more than one
assignment in the SET clause. For example:
UPDATE mytable SET a = 5, b = 3, c = 1 WHERE a > 0;
--- 190,196 ----
You can update more than one column in an
! UPDATE command by listing more than one
assignment in the SET clause. For example:
UPDATE mytable SET a = 5, b = 3, c = 1 WHERE a > 0;
***************
*** 222,230 ****
! You use the DELETE command to remove rows; the
! syntax is very similar to the UPDATE command.
! For instance, to remove all rows from the products table that have a price of 10, use
DELETE FROM products WHERE price = 10;
--- 224,234 ----
! You use the command to remove rows; the syntax is
! very similar to the UPDATE command. For
! instance, to remove all rows from the products table that have a
! price of 10, use
DELETE FROM products WHERE price = 10;