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

oracle 列转行实例

select * from (select pro_id, sum(decode(month, '01', summ)) one,
                    sum(decode(month, '02', summ)) two,
                    sum(decode(month, '03', summ)) three,
                    sum(decode(month, '04', summ)) four,
                    sum(decode(month, '05', summ)) five,
                    sum(decode(month, '06', summ)) six,
                    sum(decode(month, '07', summ)) seven,
                    sum(decode(month, '08', summ)) eight,
                    sum(decode(month, '09', summ)) nine,
                    sum(decode(month, '10', summ)) ten,
                    sum(decode(month, '11', summ)) eleven,
                    sum(decode(month, '12', summ)) twelve
               from (select r.pro_id, to_char(r.rabi_date, 'mm') as month,
                 


相关文档:

HOW TO SETUP ORACLE ON A RAW PARTITION

HOW TO SETUP ORACLE ON A RAW PARTITION
What is a Raw device and what is the advantage of having a Raw device?
A Raw device, or a Raw disk partition, is a hardware device that is
supported
by a character device driver.  Raw devices are not buffered by the kernel;
the data is transferre ......

尚学堂Oracle经验

注: 这是个人看Oracle视频时写下的笔记, 多有错误, 望各位切勿吝惜赐教.
 
1. Dos
下登陆超级管理员

 

sqlplus sys/
密码
as sysdba
 
2.
更改管理员

alter user scott account unlock;
 
3.
数据的备份
.
 
A
导出
:
Cmd

:       ......

Oracle常用的数据库字段类型如下:


字段类型
中文说明
限制条件
其它说明
CHAR
固定长度字符串
最大长度2000 bytes
 
VARCHAR2
可变长度的字符串
最大长度4000 bytes
可做索引的最大长度749
NCHAR
根据字符集而定的固定长度字符串
最大长度2000 bytes
 
NVARCHAR2
根据字符集而定的可变长度字符串
最大长度4000 bytes
  ......

Oracle Data Gurad Logical Standby 相关说明


一.逻辑Standby的准备工作
1  确认操作的对象和语句是否能被逻辑Standby支持
由于逻辑Standby是通过SQL应用来保持与Primary数据库的同步。SQL应用与REDO应用是有很大的区别,REDO应用实际上是在物理Standby端进行RECOVER;SQL应用则是分析重做日志文件中的REDO信息,并将其转换为SQL语句,在逻辑Standby端执 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号