標籤:1.比較硬解析:SQL> create table t as select * from dba_objects;表已建立。經過時間: 00: 00: 00.92SQL> set linesize 1000SQL> set autotrace onSQL> set timing onSQL> select count(*) from t; COUNT(*)---------- 79691經過時間: 00: 00: 00.24執行計畫--------
標籤:--、、、、、、、、、、、、、、常用的單行函數、、、、、、、、、、、、、、、、、、、、、、 ------------------- 常用的字元函數 ------------------------initcap(char):首字母大寫select initcap(‘hello‘) from dual--lower(char):轉換為小寫select lower(‘LOVEy‘) from dual--upper(char):轉換為大寫select
標籤:[[email protected] ~]$ which adrci/u02/app/oracle/product/11.2.0.4/db_1/bin/adrci[[email protected] ~]$ adrciADRCI: Release 11.2.0.4.0 - Production on Sat May 2 22:32:28 2015----->這是os時間Copyright (c) 1982, 2011, Oracle and/or its
標籤:oracle 12.1.0.2來源於:p17694377_121020_Linux-x86-64_1of8\database\readme.html Oracle Database (includes Oracle Database, Oracle RAC, and Deinstall)Note: you must download both zip files to install Oracle Database.p17694377_121020_platform_
標籤:oracle資料恢複最近犯渾腦子一不清醒就把oracle中表的資料給清掉了。1、先把現在擁有的資料先備份好,備份是個好習慣,記著每次操作資料庫一定要有備份。2、select * from 表名 as of timestamp to_Date(‘想恢複到的時間點‘, ‘時間格式‘);3、清掉當前表中的資料,記得先備份好!!!4、 insert into 表名
標籤:microsoft windows oracle Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)http://download.oracle.com/otn/nt/oracle10g/10201/10
標籤:完整的資料庫檔案集包括:資料庫啟動參數檔案,控制檔案,資料檔案,記錄檔。可以通過下面的方式來得到檔案的位置和名稱。參數檔案 $ORACLE_HOME/dbs/spfile[$ORACLE_SID].ora$ORACLE_HOME/dbs/init[$ORACLE_SID].ora如果不存在init[$ORACLE_SID].ora檔案,可以從$ORACLE_Base/admin/[$ORACLE_SID]/pfile目錄複寫過來,並改名。 控制檔案sql> show