install oracle9.0.2.4 on linux RHEL3 Dell 2850 参考文档如下:
RHEL3下安装OracleCU中的renxiao2003写的RHEL3下安装Oracle9R2,收集。(有些地方做了些小小的改动)1、从网上下载redhat Enterprise Linux Advanced Server3的四个安装文件,安装时swap分区设置为内存的二倍。不要采用DHCP设置主机名和IP地址,而是“手工设置”。否则会在安装oracle的时候出现如下错误:引用:Thrown when the IP address of a host cannot be determined出现这个错误将使Oracle不能安装成功。安装RHAS3,可以刻录到光盘安装,也可以从硬盘安装,从硬盘安装RHAS3,请参考:http://bbs.chinaunix.net/forum/viewtopic.php?p
转载:语言的学习
其实我觉得对于语言的学习 无非就是1 变量的声明2 循环 跳转语句3 数据结构的声明4 函数的定义和应用5 系统变量和系统函数6 异常处理 [@more@]
oracle 中的bitand bitor bitxor
参考:http://blog.itpub.net/post/6/1609http://asktom.oracle.com/pls/ask/f?p=4950:8:280872129227966139::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:375818206678,ORACLE中的BITOR和BITXOR 很多人都有一个疑问:ORACLE中为什么只有BITAND而没有BITOR, BITXOR原因是,有了BITAND, 很容易实现BITOR和BITXORBITOR(x,y) = (x + y) - BITAND(x, y);BITXOR(x,y) = BITOR(x,y) - BITAND(x,y) = (x + y) - BITAND(x, y) * 2;create or replace function to_base( p_dec in number, p_base in number ) return varchar2is l_str varchar2(255
oracle9i merge 用法和例子
manipulation data -- merge into table_name table_alias -- using (table|view|sub_query) alias -- on (join cnodition) -- when matched then -- update set -- col1 =col_val1, -- col2 = col_val2, -- when not matched then -- insert (column_list) -- values(column_values); -- Example of Merging Rows create table copy_emp as select * from employees where 1=0; select * from copy_emp;  
摘抄 oracle 常用函数--未测试
SQL中的单记录函数1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE--------- --------- --------- --------- 65 97 48
oracle login.sql 客户端部署
login.sql内容:/******************************************************/set serveroutput on size 1000000set trimspool onset long 5000set linesize 100set pagesize 9999column plan_plus_exp format a80column global_name new_value gnameset termout offselect lower(user)||'@'||decode(global_name,'ORACLE8.WORLD','8.0','ORA8I.WORLD','8i',global_name) global_name from global_name;set sqlprompt '&gname>'set termout on/*******************************************************/部署位置:$ORACLE_HOME/sqlp
oracle pl/sql 学习笔记(1)
declare/* 定义一个Sql语句中使用的变量*/v_Sex number;v_AuthorCode char(6);v_Arcount number;begin /* 查询表中的数据*/ select author_code, sex into v_AuthorCode, v_Sex from auths where name ='王大林';/* 检查该作家是否为女作家,如果是女作家,那么查询其发表文章的数量*/if v_Sex =0 then select count(article_code) into v_arcount from article; where author_code = 'A00001'; end ifend;declare v_Sex
sqlserver2000中删除7天前的数据的作业
DELETE from cligsggyw_decode ----表名WHERE xgrq<DATEADD(DAY,-7,GETDATE()) --xgrq--列名[@more@]
今天学习了点vi的东西
移动到行首/行尾 $ — 把光标移动到行尾 ^ — 把光标移动到行的第一个非空白字符处 0 — 把光标移动到行的第一个字符处 移动到指定行或指定文件位置 gg — 把光标移动到文件开头 G — 把光标移动到文件结尾 :[0-9] — 冒号后接着一个数字,用于把光标移动到指定的行号 CTRL-f — 把光标移动到下一页 CTRL-b — 把光标移动到上一页。 删除文本段 x —&