到Oralce路径下
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
ZHG =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = leehong)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = zhg)
)
)
HOST:要连接的机器名,可以使IP
PORT:端口号
SERVICE_NAME :对方的实例 ......
Oracle中TO_DATE格式
url:http://www.cnblogs.com/ajian/archive/2009/03/25/1421063.html
TO_DATE格式(以时间:2007-11-02 13:45:25为例)
Year:
yy two digits 两位年 显示值:07
yyy three digits 三位年 显示值:007
yyyy four digits 四位年 显示值:2007
Month:
mm number 两位月&nb ......
原文:ORA-00600 internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
Cause This is the generic internal error number for Oracle program exceptions. It indicates that a process has encountered a low-level, unexpected condition. Causes of this message include:
1.timeouts
2.file corruption
3.failed data checks in memory
4.hardware, memory, or I/O errors
5.incorrectly restored files
The first argument is the internal message number. Other arguments are various numbers, names, and character strings. The numbers may change meanings between different versions of Oracle.
Action Report this error to Oracle Customer Support after gathering the following information:
1.events that led up to the error
2.the operations that were attempted that led to the error
3.the conditions of the operating system and databases at the time of the error
4.any unusual circumstances that occurred bef ......
oracle clob 和blob问题的解决
整理了oracle clob 和blob问题的解决办法:
1:建议使用oracle 10的ojdbc14.jar,否则当保存clob的时候可能会出现套接字错误;
2:spring配置如下:
java代码:
<bean id="sessionFactory" >
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
  ......
Oracle数据库的备份分为一致性和非一致性两种。
一致性备份,就是数据库在关闭的状态下或者mount状态下进行的备份。这时候由于数据库没有打开,没有数据处理发生,控制文件、数据文件和日志文件中的scn保持一致。所以成为一致性备份。
不一致性备份,就是数据库在open状态下进行的备份,这时候由于数据文件和控制文件以及日志文件的scn不一致,导致采用备份恢复系统时,需要介质恢复,并且需要同步这个文件以便于打开数据库。
其次,对于归档模式的数据库,可以使用rman进行全库一致性备份,也可以进行全库不一致性备份。但是对于非归档模式的数据库只能进行全库一致性备份,不能进行联机热备(即不一致性备份)。 ......
WIN7的系统界面很漂亮,使用起来确实很不错,可是却也给我的学习带来过不少麻烦。尤其是这次装Oracle,别人用的是XP的系统很容易就装上了的,可是我却怎么也装不上。为了让同样喜爱WIN7的朋友少走些弯路,下面就介绍一下在win7上安装Oracle10g的方法吧,那可是本人用了8天时间,不停尝试各种方法,装了又卸,最后才得出的正确方法哦。
1. 首先,得从Oracle的官网上下载适用于Vista的10g,(10203_vista_w2k8_x86_production_db.zip和10203_vista_w2k8_x86_production_client.zip。前一个是服务器,后一个是客户端)。
2. 解压之后,找到\db\Disk1\stage\prereq\db 下有一个refhost.xml。在<CERTIFIED_SYSTEMS>下用以下内容添加一个节点。
<!--Microsoft Windows 7-->
<OPERATING_SYSTEM>
<VERSION VALUE="6. ......