From e7cad7b0cbf88e2c0c5bf89957e60657561ffd70 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 23 Sep 1999 17:03:39 +0000 Subject: Add TRUNCATE command, with psql help and sgml additions. --- doc/src/sgml/ref/truncate.sgml | 133 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 doc/src/sgml/ref/truncate.sgml (limited to 'doc/src') diff --git a/doc/src/sgml/ref/truncate.sgml b/doc/src/sgml/ref/truncate.sgml new file mode 100644 index 00000000000..998f826d9cf --- /dev/null +++ b/doc/src/sgml/ref/truncate.sgml @@ -0,0 +1,133 @@ + + + + + + TRUNCATE + + SQL - Language Statements + + + + TRUNCATE + + + Close a cursor + + + + + 1999-07-20 + + +TRUNCATE TABLE table + + + + + 1998-09-08 + + + Inputs + + + + + + table + + + The table name to truncate. + + + + + + + + + + 1998-09-08 + + + Outputs + + + + + + +TRUNCATE + + + + Message returned if the table is successfully truncated. + + + + + + + + + + + 1998-09-08 + + + Description + + + TRUNCATE quickly removes all rows from a table. + + + + + Usage + + + Truncate the table bigtable. + + +TRUNCATE TABLE bigtable; + + + + + + Compatibility + + + + + 1998-09-08 + + + SQL92 + + + There is no TRUNCATE in SQL92. + + + + + + -- cgit v1.2.3