摘要: 今天在安装linux_11gR2_examples遇到了一个奇怪的问题,google了一把,看到一外国oracle爱好者,发现了这个solution,特地学习一下;Error during Oracle Database 11g Release 2 Examples InstallationHi AllThis is the error that I got during the installation of Oracle Database 11g Release 2 Examples.Reproduce Issue:1. Download and extract theOracle Dat 阅读全文
posted @ 2012-09-05 00:03 jefflu99 阅读(2899) 评论(0) 推荐(0) 编辑
摘要: Oracle® Database Administrator's Guide11g Release 2 (11.2)Part Number E10595-04Creating a Password File with ORAPWDThe syntax of the ORAPWD command is as follows:ORAPWD FILE=filename [ENTRIES=numusers] [FORCE={Y|N}] [IGNORECASE={Y|N}]Command arguments are summarized in the following table. 阅读全文
posted @ 2012-09-03 23:29 jefflu99 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 2011 年最常用的软件Firefox 这个不消说 FF主要是用在办公上,使用ScrapBook保存了大量有用的诊断资料,目前已经Scrapbook的数据量已经有十多个G了Chrome 主要是用来娱乐, 因为我是只使用web版的gmail作为邮箱,所以chrome 的OFFLINE GMAIL功能对我来说是不可或缺的Safari 用在ipad 上Gtalk & QQ Gtalk 让我认识了不少国外的DBA同学,这让我在研究一些oracle专题时不至于觉得孤单SecureCRT 可能是 Unix/Oracle领域 俗话说的 吃饭家伙, 现在几乎不能脱离这个terminal 工具了,相对而 阅读全文
posted @ 2012-09-01 23:34 jefflu99 阅读(139) 评论(0) 推荐(0) 编辑
摘要: http://www.oracle-dba-online.com/data_pump_utility.htmhttp://www.oracle-scripts.net/http://www.idevelopment.info/ 阅读全文
posted @ 2012-08-30 19:30 jefflu99 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 一.Instant Clint 说明Toad,PL/SQL dev 工具都不能使用64位的Oracle,所以每次都安装32位的,也很麻烦,为了解决这个问题,可以使用Oracle 的Instant client。官网的说明:http://www.oracle.com/technetwork/cn/database/features/instant-client/index-092537-zhs.html利 用 Instant Client,您无需安装标准的 Oracle 客户端或拥有 ORACLE_HOME 就可运行应用程序。OCI、OCCI、Pro*C、ODBC 和 JDBC 应用程序无需进行 阅读全文
posted @ 2012-08-29 14:44 jefflu99 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: 使用Windows 命令行压缩程序 Winrar,在SQL存储过程中压缩Excel文件。Winrar 压缩解压软件几乎人人都会用,但是对于搞程序开发的朋友来说, 命令行压缩解压有时候更有用。这不,最近有个需求是这样的: 利用 SQL Server 存储过程检查数据库中的错误数据, 并把这些错误数据导入 Excel 格式数据文件, 然后通过 DB Email 发给用户。可惜的是,Excel 数据文件太大,有 20 MB 左右,邮件发送不了。这时候就需要在 SQL 存储过程中实现自动压缩 Excel 文件的功能。如何实现呢?我们知道 SQL Server 中还没有内置这样的压缩解压 功能,唯一的办 阅读全文
posted @ 2012-08-29 11:51 jefflu99 阅读(972) 评论(0) 推荐(0) 编辑
摘要: Replace the SQL> Prompt with the Current User Nameby Jeff Hunter, Sr. Database AdministratorIn order to replace the SQL> prompt with the current user name, edit ORACLE_HOME/sqlplus/admin/glogin.sql and add:set sqlprompt '_user> 'Test the new SQL prompt:$ sqlplus scott/tigerSQL*Plus: 阅读全文
posted @ 2012-08-28 23:42 jefflu99 阅读(187) 评论(0) 推荐(0) 编辑
摘要: This article presents some basic techniques for creating Windows batch files and UNIX/Linux shell scripts that connect to SQL*Plus and RMAN.WindowsUNIX and Linux (Method 1)UNIX and Linux (Method 2)UNIX and Linux (Returning values from SQL)WindowsTo run an SQL script using SQL*Plus, place the SQL alo 阅读全文
posted @ 2012-08-28 23:37 jefflu99 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1. Check the size of each table on specific schema ;SQL> select segment_name,bytes/1024/1024 as mb from user_segments;SEGMENT_NAME MB-------------------- ----------SALES 542. 阅读全文
posted @ 2012-08-26 16:59 jefflu99 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 数据仓库之LDAP原文:http://baike.baidu.com/view/159263.htmLDAP是轻量目录访问协议,英文全称是Lightweight Directory Access Protocol,一般都简称为LDAP。它是基于X.500标准的,但是简单多了并且可以根据需要定制。与X.500不同,LDAP支持TCP/IP, 这对访问Internet是必须的。LDAP的核心规范在RFC中都有定义,所有与LDAP相关的RFC都可以在LDAPman RFC网页中找到。 简单说来,LDAP是一个得到关于人或者资源的集中、静态数据的快速方式。 LDAP是一个用来发布目录信息到许多不同.. 阅读全文
posted @ 2012-08-22 10:54 jefflu99 阅读(528) 评论(0) 推荐(0) 编辑