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

Solaris10 安装Oracle 10g

好没有碰Solaris了,手有些生了,看来真要装个solaris,平时多玩玩。
在solaris上装Oracle 10g先。
1. 检查安装依赖包
官方要求的包
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt
执行命令
# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot
SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
例如
[root@rac1]#pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms
SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
system SUNWarc Lint Libraries (usr)
system SUNWbtool CCS tools bundled with SunOS
system SUNWhea SunOS Header Files
system SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
system SUNWlibm Math & Microtasking Library Headers &
Lint Files (Usr)
system SUNWlibms Math & Microtasking Libraries (Usr)
system SUNWsprot Solaris Bundled tools
system SUNWtoo Programming Tools
system SUNWxwfnt X Window System platform required fonts
错误: 未发现"SUNWi1cs"的信息
错误: 未发现"SUNWi15cs"的信息
差2个包。 "SUNWi1cs" "SUNWi15cs"
这2个包可以在solaris的安装包里找到。mount上光盘,把这些差的包装起来
[root@rac1]#cd /cdrom/sol_10_1009_x86/Solaris_10/Product/
[root@rac1]#ls ./SUNWi1*
./SUNWi13cs:
archive install pkginfo pkgmap reloc

./SUNWi13rf:
archive install pkginfo pkgmap reloc

./SUNWi15cs:
archive install pkginfo pkgmap reloc

./SUNWi15rf:
archive install pkginfo pkgmap reloc

./SUNWi1cs:
archive install pkginfo pkgmap reloc

./SUNWi1of:
archive install pkginfo pkgmap reloc
确认这里有这些包。
下面安装
[root@rac1]#pkgadd -d . SUNWi1cs
处理软件包范例<SUNWi1cs>来自</cdrom/sol_10_1009_x86/Solaris_10
/Product>
X11 ISO8859-1 Codeset Support(i386) 2.0,REV=2004.10.17.15.04
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
使用</>作为包的基本目录
#


相关文档:

传智播客——数据库之ORACLE(二)


  1) 用SELECT语句从表中提取查询数据。语法为
  SELECT [DISTINCT] {column1,column2,…} from tablename WHERE {conditions} GROUP BY {conditions} ORDER BY {expressions} [ASC/DESC]; 
  说明:SELECT子句用于指定检索数据库的中哪些列,from子句用于指定从哪一个表或视图中检索数据。
  2) ......

北大青鸟oracle学习笔记26 27 28

数据库触发器
触发器语句
    制定触发器定时、事件、表名及类型
触发器主体
    是pl/sql快或对过程的调用
触发器限制
    可以通过when子句实现
DML(insert update delete)
DDL(create alter drop)
数据库操作(servererror logo ......

Oracle管理员的两种认证方法

  Oracle管理员的两种认证方法
注意:重要
parameter 中remote_login_passwordfile
1、alter system set remote_login_passwordfile= none scope =spfile;
     含义:非密码认证(此时仅os认证 )
 2、alter system set remote_login_passwordfile= exclusive  ......

向oracle表中插入大量数据

需要大量oracle测试数据时,可以使用以下方法。
DECLARE
 i INT;
BEGIN
i := 0;
WHILE(i < 100000)
LOOP
 i := i + 1;
 INSERT INTO TEST_TABLE(ID, XM) VALUES(i, '姓名' || i);
END LOOP;
COMMIT;
 END; ......

知识小结(Oracle)

1)导入oracle数据库文件.dmp时出现错误
imp PERSONNEL_MANAGE/MWQ@MIS file=C:\personnel_manage.dmp fromuser=PERSONNEL_MANAGE ignore=y commit=y grants=y;
IMP-00058: 遇到 ORACLE 错误 1017
ORA-01017: invalid username/password; logon denied用户名:
口令:
IMP-00058: 遇到 ORACLE 错误 1017
ORA-01017: in ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号