一,建立資料表空間文法:CREATE [TEMPORARY | UNDO] TABLESPACE tablespace_name[DATAFILE | TEMPFILE file_name SIZE K | M [REUSE] [AUTOEXTENT OFF|ON [NEXT number K | M MAXSIZE UNLIMITED | number K | M ] ] ][BLOCKSIZE number K][ONLINE | OFFLINE][LOGGING |
--select * from dba_users; 查詢資料庫中的所有使用者 --alter user TEST_SELECT account lock; 鎖住使用者 --alter user TEST_SELECT account unlock; 給使用者解鎖 --create user xujin identified by xujin; 建立使用者 --grant create tablespace to xujin; 授權 --grant select on tabel1
Oracle UNDO management tipsOracle Tips by Burleson ConsultingMay 4, 2010Question: What are some tips for managing Oracle UNDO?Answer: Here are my notes ongeneral undo management andUndo Management in RAC,Here are other undo management notes:-
作者:gnuhpc 出處:http://www.cnblogs.com/gnuhpc/TLS,1 p.Mrs. Doughty Quogue, Long Island 16 September 1962, Sunday My dear: Well, here we are — but not here. You at St. Tim's, Sister in Princeton, and me in Quogue, and another brand new
udisk資料庫移植1.建立udisk使用者使用的資料表空間--create user tablespacecreate tablespace udisk datafile 'E:\ORACLE92\oradata\UDISK\udisk.dbf' size 100 Muniform size 10M;2.建立udisk使用者,並初始化密碼為udisk--create user udiskcreate user udisk identified by udiskdefault
【sqlserver】: sqlserver 認為 null 最小。 升序排列:null 值預設排在最前。 要想排後面,則:order by case when col is null then 1 else 0 end ,col 降序排列:null 值預設排在最後。 要想排在前面,則:order by case when col is null then 0 else 1 end , col desc 【oracle】: oracle認為 null 最大。
假如有如下表,其中各個i值對應的行數是不定的SQL> select * from t;I A D———- ———- ——————-1 b 2008-03-27 10:55:421 a 2008-03-27 10:55:461 d 2008-03-27 10:55:302 z 2008-03-27 10:55:552 t 2008-03-27 10:55:59要獲得如下結果,注意字串需要按照D列的時間排序:1 d,b,a2
原文:http://hi.baidu.com/%B1%CF%C0%F6%C3%F4/blog/item/a1ce3a08cb3990d263d986e3.html DataBaseConfig.xmlCode highlighting produced by Actipro CodeHighlighter