易截截图软件、单文件、免安装、纯绿色、仅160KB

oracle根据主外键查表

select a.constraint_name, a.table_name, b.constraint_name
  from user_constraints a, user_constraints b
where a.constraint_type = 'R'
  and b.constraint_type = 'P'
  and a.r_constraint_name = b.constraint_name
P 代表主键
R 代表外键


相关文档:

Oracle数据库备份导入导出

1. 将数据库完全导出
    用户名system 密码system 导出到Oracle用户目录下的testdb20100522.dmp文件中
    #exp system/system@testdb file=testdb20100522.dmp full=y
2. 将数据库中system用户与sys用户的表导出
    #exp system/system@testdb file= testdb20100522.d ......

免安装Oracle客户端软件 使用pl/sql配置登陆

虽然这是我找到最详细的配置描述,但是尝试还是没有成功。
 
1.下载Oracle Client Package
.

http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
下载
Instant
Client Package – Basic

(

标注
:All files
required to run OCI, OCCI, and JDBC-OC ......

Oracle表空间常用操作

1. 查看Oracle创建过哪些用户
   >select username from all_users;
2. 查看Oracle创建过哪些表空间,表空间的名字和大小
   >select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size
    from dba_tablespaces t, dba_data_files d
    wher ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号