随笔分类 -  Oracle

摘要:oracle 11g导出dmp时处理空表select 'alter table '|| table_name ||' move;' from user_tables where segment_created='NO'; 阅读全文
posted @ 2013-11-13 11:33 zhgs_cq 阅读(335) 评论(0) 推荐(0)
摘要:oracle11g倒出空表1.查找空表 select 'alter table '|| table_name ||' move;' from user_tables where segment_created='NO';2.处理空表 alter table AREAHISTORYPRICEINFO move; 阅读全文
posted @ 2013-09-21 16:01 zhgs_cq 阅读(199) 评论(0) 推荐(0)
摘要:oracle 数据库常用命令创建表空间create tablespace dwz_demo datafile 'D:\oracle\dwz_demo.dbf' size 10m autoextend on;创建用户Create user zhanggaosong identified by "zhanggaosong" default tablespace dwz_demo;给用户设置权限Grant connect,resource to zhanggaosong;Grant dba to zhanggaosong;删除用户drop user zhangga 阅读全文
posted @ 2013-08-27 22:31 zhgs_cq 阅读(203) 评论(0) 推荐(0)
摘要:Oracle 配置客户端1. 已安装Oracle情况下 找到tnsnames.ora文件(D:\oracle\product\10.2.0\db_1\network\ADMIN)添加红色部分内容 # tnsnames.ora Network Configuration File: D:\oracl... 阅读全文
posted @ 2013-08-20 14:01 zhgs_cq 阅读(610) 评论(0) 推荐(0)