成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

drop_table 中文man頁面

系統
DROP TABLE 從數據庫中刪除表或視圖。 只有其所有者才能刪除一個表或視圖。要清空一個表,而不刪除表, 使用 DELETE。

NAME

DROP TABLE - 刪除一個表

SYNOPSIS

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

DESCRIPTION 描述

DROP TABLE 從數據庫中刪除表或視圖。 只有其所有者才能刪除一個表或視圖。要清空一個表,而不刪除表, 使用 DELETE。

DROP TABLE 總是刪除目標表上現有的任何索引, 規則,觸發器以及約束。但是,要刪除一個由另外一個表用外鍵約束引用的表, 我們必須聲明 CASCADE。(CASCADE 將刪除外鍵約束,而不是另外一個表。)  

PARAMETERS 參數

name

 要刪除的現存表的名字(可以有模式修飾)。
CASCADE

 自動刪除依賴于表的對象。(比如視圖)。
RESTRICT

 如果存在依賴對象,則拒絕刪除該表。這個是缺省。

EXAMPLES 例子


 刪除 films 和 distributors表:

DROP TABLE films, distributors;

COMPATIBILITY 兼容性


 此命令遵循 SQL 標準。  

SEE ALSO 參見

ALTER TABLE [alter_table(7)], CREATE TABLE [create_table(l)]

#p#

NAME

DROP TABLE - remove a table

SYNOPSIS

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

DESCRIPTION

DROP TABLE removes tables from the database. Only its owner may destroy a table. To empty a table of rows, without destroying the table, use 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 entirely.)  

PARAMETERS

name
The name (optionally schema-qualified) of the table to drop.
CASCADE
Automatically drop objects that depend on the table (such as views).
RESTRICT
Refuse to drop the table if any objects depend on it. This is the default.

EXAMPLES

To destroy two tables, films and distributors:

DROP TABLE films, distributors;

COMPATIBILITY

This command conforms to the SQL standard.  

SEE ALSO

ALTER TABLE [alter_table(7)], CREATE TABLE [create_table(l)]

責任編輯:韓亞珊 來源: CMPP.net
相關推薦

2011-08-24 14:13:27

DROP CONVER中文man

2011-08-24 14:19:14

DROP DOMAIN中文man

2011-08-24 14:31:48

DROP LANGUA中文man

2011-08-24 14:35:33

DROP OPERAT中文man

2011-08-24 14:16:18

DROP DATABA中文man

2011-08-24 14:06:36

DROP AGGREG中文man

2011-08-24 14:25:43

DROP GROUP中文man

2011-08-24 14:28:47

DROP INDEX中文man

2011-08-24 14:40:50

DROP RULE中文man

2011-08-24 14:10:10

DROP CAST中文man

2011-08-24 14:22:11

DROP FUNCTI中文man

2011-08-24 14:43:21

drop_schema中文man

2011-08-24 14:57:06

drop_type中文man

2011-08-24 15:03:08

drop_view中文man

2011-08-24 14:59:50

drop_user中文man

2011-08-24 14:38:16

DROP OPERAT中文man

2011-08-24 14:46:42

drop_sequen中文man

2011-08-24 14:52:31

drop_trigge中文man

2011-08-24 13:29:20

CREATE TABL中文man

2011-08-24 13:32:56

CREATE TABL中文man
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 国产一区二区久久 | 网址黄 | av一级久久| 成av在线| 91久久久久久久久 | 免费v片在线观看 | 日韩欧美专区 | 国产第二页 | 国产精品久久久久久久久久三级 | 91精品国产一区二区三区 | 欧美另类视频 | 色资源在线视频 | 国产一区91精品张津瑜 | 伊人网影院 | 免费观看一级特黄欧美大片 | 九九久久精品 | 欧州一区二区 | 毛片免费在线观看 | 97国产精品视频 | 中文字幕在线观看一区 | 欧美日韩国产在线观看 | 国产一卡二卡三卡 | 鲁大师一区影视 | 涩在线 | 欧美日韩亚洲在线 | 欧美国产亚洲一区二区 | av国产精品 | 国产精品久久久久一区二区三区 | 午夜成人免费电影 | 日韩在线一区二区三区 | 亚洲97| 欧美在线视频网站 | 黄色av免费网站 | 日韩精品一区二区三区在线 | 精品亚洲一区二区三区四区五区 | 99福利视频导航 | 欧美日韩久久久久 | 亚洲欧美另类在线观看 | 色综合美女 | 国产精品亚洲欧美日韩一区在线 | 三级在线观看 |