zoukankan      html  css  js  c++  java
  • OCP

    ---恢复内容开始---

    一、create table sales as select * from employees;

    二、truncate employees;

    三、rollback;

    四、desc   v$bh;

    五、数据库事务:

    六、脏读:事务回滚前的脏数据;

    七、事务ACID:原子性、一致性、持久性、持续性;

    八、help set; 

    九、oracle set commit read only;

    十、sqlplus   /   as   sysdba

    十一、savepoint s1;

    十二、select   *   from test;

    十三、insert   into   

    十四、rollback   to  savepoint s1;

    十五、select * from test for update;  锁表

    十六、show user;

    十七、表名不超过30个字符,_,$,#

    十八、default;---默认值

    十九、select rowid from t1;
    二十、create table t2 (id number default 99 not null, sysdate);

    二十一、SCN号;system change number;闪回

    二十二、timestamp;

    二十三、date;

    二十四、constraints;

    二十五、not   null、unique、primary  key、CHECK

    二十六、只加东西,不改东西,不删东西;

    二十七、系统用户删表不能恢复;

    二十八、Create simple and complex views

    二十九、snapshot

    三十、materialized view

    三十一、简单视图、复制视图、物化视图、动态性能视图

    三十二、CREATE VIEW empv

          AS

        SELECT employee_id, last_name, salary from employees where department_id = 80;

    三十三、Sequences:序号

    三十四、create sequence mysq increment by  1

        start with 0 maxvalue 999;

        

    三十五、select mysq.nextval from dual;

    三十六、select mysq.curral from dual;

    三十七、insert into test values 

    三十三、truncate table test;

    三十四、insert into test values();

    三十五、revoke select on emp2 from public;

    三十六、select count(table_name) from dict;

    三十七、select table_name from dict where 

    三十八、select  * from dict where table_name like 'V$';

    三十九、select table_name, owner from dba_tables where 

    四十、

    ---恢复内容结束---

  • 相关阅读:
    asp后台读id设置样式
    js,需要更多源字符
    列名无效
    asp,对待绑定数据加序号列(DataSet)
    ashx 绝对路径得到物理路径
    方法执行一次js
    小细节
    Spring oauth大致流程
    第六章 分支语句和逻辑运算符
    第七章 函数
  • 原文地址:https://www.cnblogs.com/niaocaizhou/p/10885041.html
Copyright © 2011-2022 走看看