drop_table man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



     DROP TABLE(l)SQL - Language Statements (2002-11-22) DROP TABLE(l)

     NAME
	  DROP TABLE - remove a table

     SYNOPSIS
	  DROP TABLE name [, ...] [ CASCADE | RESTRICT ]

	INPUTS
	  name The name (optionally schema-qualified) of an existing
	       table to drop.

	  CASCADE
	       Automatically drop objects that depend on the table
	       (such as views).

	  RESTRICT
	       Refuse to drop the table if there are any dependent
	       objects.	 This is the default.

	OUTPUTS
	  DROP TABLE
	       The message returned if the command completes
	       successfully.

	  ERROR: table "name" does not exist
	       If the specified table does not exist in the database.

     DESCRIPTION
	  DROP TABLE removes tables from the database.	Only its owner
	  may destroy a table. A table may be emptied of rows, but not
	  destroyed, by using DELETE.

	  DROP TABLE always removes any indexes, rules, triggers, and
	  constraints that exist for the target table. However, to
	  drop a table that is referenced by a foreign-key constraint
	  of another table, CASCADE must be specified. (CASCADE will
	  remove the foreign-key constraint, not the other table
	  itself.)

	NOTES
	  Refer to CREATE TABLE and ALTER TABLE for information on how
	  to create or modify tables.

     USAGE
	  To destroy two tables, films and distributors:

	  DROP TABLE films, distributors;

     Page 1					     (printed 3/24/03)

     DROP TABLE(l)SQL - Language Statements (2002-11-22) DROP TABLE(l)

     COMPATIBILITY
	SQL92

     Page 2					     (printed 3/24/03)

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net