freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

《表和約束》ppt課件-文庫吧

2025-04-18 06:20 本頁面


【正文】 ROWID 一個 64進制的數(shù)制系統(tǒng),表示表中一行的唯 一地址 Copyright 169。 Oracle Corporation, 2022. All rights reserved. ALTERTABLE語句 用 ALTERTABLE語句來: ?添加一個新列 ?修改一個已存在的列 ?為新列定義一個默認值 ?刪除一個列 Copyright 169。 Oracle Corporation, 2022. All rights reserved. ALTERTABLE語句 用 ALTER TABLE語句添加、修改或刪除列 ALTER TABLE table ADD (column datatype [DEFAULT expr] [, column datatype]...)。 ALTER TABLE table MODIFY (column datatype [DEFAULT expr] [, column datatype]...)。 ALTER TABLE table DROP (column)。 Copyright 169。 Oracle Corporation, 2022. All rights reserved. 添加列 DEPT80 “添加一個新列到DEPT80表” DEPT80 New column Copyright 169。 Oracle Corporation, 2022. All rights reserved. 添加新列 ?用 ADD字句添加列 ?新列成為最后的列 ALTER TABLE dept80 ADD (job_id VARCHAR2(9))。 Table altered. Copyright 169。 Oracle Corporation, 2022. All rights reserved. 修改列 ?可以改變列的數(shù)據(jù)類型、大小和默認值 ?對默認值的改變只影響后來插入表中的數(shù)據(jù) ALTER TABLE dept80 MODIFY (last_name VARCHAR2(30))。 Table altered. Copyright 169。 Oracle Corporation, 2022. All rights reserved. 刪除列 用 DROP COLUMN子句從表中刪除列 ALTER TABLE dept80 DROP COLUMN job_id。 Table altered. Copyright 169。 Oracle Corporation, 2022. All rights reserved. 刪除表 ?在表中的所有數(shù)據(jù)和結(jié)構(gòu)都被刪除 ?任何未決的事務(wù)都被提交 ?所有的索引被刪除 ?你不能回退 DROP TABLE語句 DROP TABLE dept80。 Table dropped. Copyright 169。 Oracle Corporation, 2022. All rights reserved. 改變一個對象的名字 ?執(zhí)行 RENAME語句,改變一個表、視圖、序列或同義詞 You must be the owner of the object. RENAME dept TO detail_dept。 Table renamed. Copyright 169。 Oracle Corporation, 2022. All rights reserved. 截斷表 ?TRUNCATE TABLE語句: –刪除表中所有的行 –釋放該表所使用的存儲空間 ?不能回退用 TRUNCATE刪除的行 ?作為選擇,可以用 DELETE語句刪除行 TRUNCATE TABLE detail_dept。 Table truncated. Copyright 169。 Oracle Corporation, 2022. All rights reserved. 添加注釋到表中 ?用 COMMENT語句添加注釋到一個表或列中 ?注釋能夠通過數(shù)據(jù)字典視圖查看: –ALL_COL_COMMENTS –USER_COL_COMMENTS –ALL_TAB_COMMENTS –USER_TAB_COMMENTS COMMENT ON TABLE employees IS 39。Emp
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1