oracle__學習筆記2014.09.05,oracle_2014.09.05

來源:互聯網
上載者:User

oracle__學習筆記2014.09.05,oracle_2014.09.05
oracle學習筆記2014.09.05

測試資料庫配置的資訊全域資料庫名:xiuhao系統標識符(SID):xiuhao伺服器參數檔案名稱:c:\oracle\dbs\spfilexiuhao.oradatabase control URL: http://C-1:5500/emsys以及system解鎖
edit

以文本格式開啟當前命令/

/

執行當前命令

l [num]

顯示緩衝區命令

get [file]

把file中的檔案加入到緩衝區

c /[str] /[str]

修改當前語句中的內容

spo[ol] [file]
  • 將執行的命令以及結果儲存到file中
  • 使用spo off終止儲存
使用cmd登陸sqlplus

在密碼後添加as sysdba

鎖定\解鎖使用者
  • alter user [username] account unlock;
  • 需要sys許可權
連結使用者
  • conn [username]/[passwd]
  • conn / as sysdba(預設sys使用者)
  • 如果使用sys,要求輸入密碼後添加 as sysdba
查詢塊大小
  • select name,value from V$parameter where name='db_block_size';
  • 需要使用sys
查詢資料表空間
  • select tablespace_name from dba_tablespaces;
TABLESPACE_NAME
SYSTEM
UNDOTBS1
SYSAUX
TEMP
USERS
查詢控制檔案,pfile
  • show parameter control_files
  • show parameter pfile
    • select name from V$controlfile;

從java到oracle到mysql

資料檔案
  • select name from v$datafile;
授權使用者scott為sysdba使用者,並且使用scott登陸
  • grant sysdba to scott;
  • conn scott/tiger as sysdba

Oracle學習筆記txt全集下載

Oracle學習筆記 txt全集小說附件已上傳到百度網盤,點擊免費下載:
應該是全本了

 
ORACLE_OCP10g學習筆記

call me with qq
 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.