重新发现Oracle太美之glogin.sql
刚开始接触Oracle的时候,有时候一登陆一个生产环境,经常会出现下面的情况:
[oracle@rh64 app]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Thu May 15 03:17:34 2014
Copyright (c) 198...
分类:
数据库 时间:
2014-06-20 11:20:35
阅读次数:
195
Outer Join Query Over Dblink Can Fail With
ORA-904 (Doc ID 730256.1)To BottomModified:03-May-2013Type:PROBLEMIn this
DocumentSymptomsChangesCauseSolut...
分类:
数据库 时间:
2014-06-13 13:41:16
阅读次数:
376
强大的 CD 命令技巧 -rw-------. 1 root root 14808 Mar
13 12:31 .bash_history -rw-r--r--. 1 root root 18 May 20 2009 .bash_logout
-rw-r--r--. 1 root root 176 M...
分类:
系统相关 时间:
2014-06-11 09:51:09
阅读次数:
374
【题目】
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[6,5,7],
[4,1,8,3]
]
The minimum path sum from top to...
分类:
其他好文 时间:
2014-06-08 17:52:45
阅读次数:
235
【题目】
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may only use constant extra space.
For example,
Given the following binary tre...
分类:
其他好文 时间:
2014-06-08 15:46:22
阅读次数:
303
Oracle数据库默认情况下,会以DD-MON-YY的形式显示日期,其中DD是天数,MON是月份的前三个字母(大写),而YY是年份的最后两位。数据库实际上会为年份存储4位数字,但是默认情况下只会显示最后两位。
一个简单的语句:
SELECT TO_DATE('21-MAY-2014') FROM dual;
引发ORA-01843:无效的月份!...
分类:
其他好文 时间:
2014-06-08 14:40:51
阅读次数:
238
如果你执行下以下命令基本上会在Oracle软件目录下会发现两个root.sh的脚本
[oracle@rh64 Templates]$ find /u01/ -name root.sh |xargs ls -ltr
-rwxrwx--- 1 oracle oinstall 10 May 14 02:37 /u01/app/db11g/product/11.2.0/dbhome_1/invent...
分类:
数据库 时间:
2014-06-08 09:50:59
阅读次数:
946
/* * Copyright (C) 2011 The Rexsee Open Source
Project * * Licensed under the Rexsee License, Version 1.0 (the "License"); *
you may not use this file...
分类:
移动开发 时间:
2014-06-08 07:38:06
阅读次数:
363
题目
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional el...
分类:
其他好文 时间:
2014-06-08 05:05:47
阅读次数:
268
Evaluate the value of an arithmetic expression
in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be
an integer or another ex...
分类:
其他好文 时间:
2014-06-07 20:34:41
阅读次数:
214