摘要: Oraclesetunused的用法SET UNUSED的用法原理:清楚掉字典信息(撤消存储空间),不可恢复。可以使用SET UNUSED选项标记一列或者多列不可用。使用DROP SET UNUSED选项删除被被标记为不可用的列。语法: ALTER TABLE table SET UNUSED (COLlist多个)或者ALTER TABLE table SET UNUSED COLUMN col单个; ALTER TABLE table DROP UNUSED COLUMNS;set unused不会真地删除字段。除了alter table drop field外,也可以alter tabl 阅读全文
posted @ 2012-12-20 12:49 Peyton 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 在看OCP题库的时候有一道题是考字段约束的,意思是要在表CUSTOMERS的字段CUST_FIRST_NAME建个约束,使这个字段不能输入数字。View the Exhibit and examine the description of the CUSTOMERS table.You want to add a constraint on the CUST_FIRST_NAME column of the CUSTOMERS table so that thevalue inserted in the column does not have numbers.Which SQL statem 阅读全文
posted @ 2012-12-20 12:27 Peyton 阅读(182) 评论(0) 推荐(0) 编辑