TO_DSINTERVAL用法:进行天,小时,分秒的计算
TO_DSINTERVAL的用法:有了这个函数,可以进行时间的计算,包括天,时,分,秒的计算。oracle reference:In the SQL format, days is an integer between 0 and 999999999, hours is an integer between 0 and 23, and minutes and seconds are integers between 0 and 59. frac_secs is the fractional part of second...
pls_integer 用法简析
使用场景:简单点说就是在不需要考虑溢出与空的情况下使用,速度会更快,比如计数。oracle reference :You can use SIMPLE_INTEGER when the value is never null and overflow checking is unnecessary. Without the overhead of checking for null values and overflow, SIMPLE_INTEGER provides better performance th...
判断oracle是否启动
判断oracle是否启动:方法一. 通过linux命令判断ps -ef|grep ora如果查看得到oracle相关进程,一般认定为已经启动了。[root@gl ~]# ps -ef|grep oraroot 3630 3587 0 05:10 ? 00:00:14 hald-addon-storage: polling /dev/hdcoracle 4038 &n...
scp命令基本用法
scp 用于传输文件到另外一个服务器环境,命令格式:scp -p port user@serverip:/home/user/filename /home/user/filename例子:[root@localhost ~]# pwd/root[root@localhost ~]# lsanaconda-ks.cfg ftpaccount install.log.syslogbackup.tar.gz install.log svn1.4.3[root...
启动em时报错:OC4J Configuration issue解决办法
启动em时报错:[oracle@gl ~]$ emctl start dbconsoleOC4J Configuration issue. /data/oracle/oc4j/j2ee/OC4J_DBConsole_gl.localdomain_DB11G not found.发生此问题的原因:因为oracle所在数据库的ip地址发生变化引起em启动的时候报OC4J Configuration issue错误。解决办法:重新配置dbcontrol[oracle@gl config]$ ...