随笔分类 - oracle
摘要:传送门:http://www.mababa.xin/2021/01/14/oracle%e6%9f%a5%e8%af%a2%e6%95%b0%e6%8d%ae%e5%ba%93%e4%b8%ad%e6%89%80%e6%9c%89%e8%a1%a8%e7%9a%84%e8%ae%b0%e5%bd%9
阅读全文
摘要:1、创建用户: create user toptea2 identified by "用户名" 2、给用户授权 grant create session to 用户名; grant create table to 用户名; grant create tablespace to 用户名; grant
阅读全文
摘要:查看回收站中表 select object_name,original_name,partition_name,type,ts_name,createtime,droptime from recyclebin; 恢复表 SQL>flashback table test_drop to before
阅读全文
摘要:1、查询重复数据select * from 表名 where 重复字段(一般为主键)in (select 重复字段 from 表名 group by 重复字段 having count(WF_OID)>1) Select 重复字段,Count(*) From表名 Group By 重复字段 Havi
阅读全文
摘要:查询表的名称,字段信息以及字段注释 select us.table_name, --表名 ut.COLUMN_NAME,--字段名称 uc.comments,--字段注释 ut.DATA_TYPE,--字典类型 ut.DATA_LENGTH,--字典长度 ut.NULLABLE--是否为空from
阅读全文

浙公网安备 33010602011771号