[Oracle@test2 ~]$ sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Production on Sun Jan 21 12:01:35 2007Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> conn /as sysdbaConnected.SQL> r1* select program,count(1) from v$session group by
記得那時因為沒有網路,把root密碼改錯了寫成了:update user set password="122" where user="root";之後mysql就開始不工作了。#mysql -u root -p#123就會出現:ERROR 1045 (28000): Access denied for user ''@'localhost' (using password: NO)只能這樣:#mysql -u rootmysql> use mysql又出現了ERROR 1045 (280
收集整理了一篇比較完美的CenotOS Linux 5 下Oracle 10g安裝教程。分享個朋友們!Author:David Young (e4twood@gmail.com)Last Update:2008-1-10系統內容:CentOS Linux 5 Final Oracle Enterprise 10g R2硬體環境:CPU:Intel Pentium Dual-core @1.
在Oracle 11gR2之前,一般用start with和connect by來遞迴的顯示樹形結構,請看如下指令碼select lpad(' ',2*level-1,' ') || ename ename,empno,mgr from emp where empno is not null connect by prior empno = mgr start with mgr is
1:redo log 是如何工作的:Online redo logs store a record of transactions that have occurred in your database. Online redo logs exist solely to provide a mechanism for you to recover your database in the event of a failure. You are required to have at least
我的過程是這樣的:CREATE OR REPLACE package body proc_body as procedure init(start_date date,end_date date) is for rec in (這裡是一個關聯幾個表的查詢[R查詢]) loop ...... end loop; end ; end proc_body;我建立了幾個過程,用於初始化資料,直接在pl/sql dev裡面運行,沒有響應,