易截截图软件、单文件、免安装、纯绿色、仅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 ......

Linux(Centos5.4)上安装oracle10gR2(10.2.1)

http://www.puschitz.com/InstallingOracle10g.shtml
我用的是Centos5.4
DVD光盘安装的linux操作系统,安装linux的时候选上开发工具,Xmanager,与数据库相关的包。
操作系统安装完成之后需要进行一系列的配置才能安装oracle10g,下面把
主要步骤记录下来。
1.安装完操作系统之后还是有些包没有安装,然而安装oracle10 ......

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


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

Oracle中的归档日志(Archive Log)

Oracle中的归档日志(Archive Log)
文章分类:数据库
在Oracle中,数据一般是存放在数据文件中,不过数据库与Oracle最大的区别之一就是数据库可以在数据出错的时候进行恢复。 这个也就是我们常见的Oracle中的重做日志(REDO FILE)的功能了。在重做日志分成2部分,一个是在线重做日志文件,另外一个就是归档日志文件。
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号