易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 : Oracle

oracle常用语句

1.查询表空间的使用情况,以M为单位
select f.tablespace_name,a.total,u.used,f.free,round((u.used/a.total)*100) "% used",  
round((f.free/a.total)*100) "% Free"   
from  
(select tablespace_name, sum(bytes/(1024*1024)) total   
       from dba_data_files group by tablespace_name) a,  
(select tablespace_name, round(sum(bytes/(1024*1024))) used   
       from dba_extents group by tablespace_name) u,  
(select tablespace_name, round(sum(bytes/(1024*1024))) free   
       from dba_free_space group by tablespace_name) f  
WHERE a.tablespace_name = f.tablespace_name  
and a.tablespace_name = u.tablespace_name;
2.查询新建用户
select username
  from dba_users
where username not in
      ('TEXT', 'RMAN_USER', 'TEST', 'SCOTT', 'TSMSY ......

将数据导入到oracle数据库

1.首先将要导入的数据生成excel文件格式,最前面空一格。
2.用PL/SQL连接要导入的数据库,输入语句 select * from 表名 for update
3.点击小锁(编辑数据),选中一行将excel复制数据粘贴到表中
以informix数据导出为例,首先使用SecureCRT工具进入终端。输入命令dbaccess后执行,选中数据库NEW一下SQL语句输入命令:unload to 表名.unl select * from 表名 后选择RUN执行,将生成一个unl文件,将unl文件转换成excel,首先将|换成^t在生成excel。
导出表结构:直接进入终端输入dbschema -d 数据库名 -t 表名 a_topic_class.sql ......

Oracle RAC真好玩

这段时间,接的多是RAC的维护和恢复问题。所以每天都是在和RAC打交道。
RAC真的很好玩。
大家有对RAC感兴趣的有问题的,或者是遇到RAC维护上面的出现问题的,可以发邮件至inthirties@gmail.com一起交流研究。
真的很希望玩Oracle ......

宁波银行采用Oracle CRM 提升竞争优势

2009年12月24日,宁波银行在全行引入Oracle Siebel CRM,以全新管理理念及业务流程构建宁波银行统一的CRM(客户关系管理)系统,实现以客户为中心的客户关系管理和企业工作效率的全面提升。“以客户为中心”的销售服务平台,能提供全行统一的客户视图,同时实现了跨部门协同工作,并提供客户生命周期管理与服务,不仅提高了客户满意度和忠诚度,有效提升了企业的工作效率以及客户服务质量,并大幅提升了客户的交叉销售,为宁波银行带来了显著的商业效益。 ......

2008 中国首届Oracle数据库精英工程师评选电子试题

2008 中国首届Oracle数据库精英工程师评选电子试题 和答案(2008年9月3日)
===========================================================
2008 中国首届Oracle数据库精英工程师评选电子试题 和答案(2008年9月3日)
作者: zhulch(http://zhulch.itpub.net)
发表于: 2008.09.02 16:12
分类: ERP(Oracle/SAP)
出处: http://zhulch.itpub.net/post/17395/470005
---------------------------------------------------------------
.............
一、选择题
1.Which six files are maintained in the Flash Recovery Area? (Choose six.)
A. control file
B. RMAN files
C. password file
D. parameter file
E. flashback logs
F. data file copies
G. core dump files
H. archived log files
I. RMAN recovery scripts
J. control file autobackpus
回答: A,B,E,F,H,J
2.You are unable to move the Unified Job Scheduler occupant from the SYSAUX
tablespace to the USERS tablespace. What could be the reason?
A. None of the SYSAUX occupants can be relocated.
B. The USERS tablespace is a bigfile tablespace (BFT).
C. The un ......

Oracle中INSTR,SUBSTR方法

INSTR方法的格式为
INSTR(源字符串, 目标字符串, 起始位置, 匹配序号)
例如:INSTR('CORPORATE FLOOR','OR', 3, 2)中,源字符串为'CORPORATE FLOOR', 目标字符串为'OR',起始位置为3,取第2个匹配项的位置。
默认查找顺序为从左到右。当起始位置为负数的时候,从右边开始查找。
所以SELECT INSTR('CORPORATE FLOOR', 'OR', -1, 1) "Instring" from DUAL的显示结果是
Instring
——————
14
oracle的substr函数的用法
取得字符串中指定起始位置和长度的字符串   substr( string, start_position, [ length ] )
如:
     substr('This is a test', 6, 2)     would return 'is'
     substr('This is a test', 6)     would return 'is a test'
     substr('TechOnTheNet', -3, 3)     would return 'Net'
     substr('TechOnTheNet', -6, 3)     would return 'The'select substr('Thisisatest', -4, 2) value from dual ......
总记录数:3994; 总页数:666; 每页6 条; 首页 上一页 [366] [367] [368] [369] 370 [371] [372] [373] [374] [375]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号