標籤:oracle 許可權 system 一.sysdba 與system許可權的區別(1)sys:所有oracle的資料字典的基表和視圖都存放在sys使用者中,這些基表和視圖對於oracle的運行是至關重要的,由資料庫自己維護,任何使用者都不能手動更改,sys使用者擁有dba,sydba,sysoper角色或許可權是oracle許可權的最高使用者system:用於存放一級的內部資料,如oracle的一些特性或者工具的管理資訊,
標籤:轉自:http://blog.itpub.net/271063/viewspace-1061279/-- 串連資料庫 建立測試使用者-- Connected to Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 -- Connected as [email protected]_192.168.56.120create user scott identified by tiger
標籤: 在串連資料庫是出現如下錯誤(建立了兩個庫一個是orcl,另一個是prod):SQL> conn / as sysdbaConnected to an idle instance.SQL> startupORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00132: syntax error or unresolved network name
標籤:create or replace trigger TRI_FC83_INSERT before insert ON FC83 FOR EACH ROWdeclare PRAGMA AUTONOMOUS_TRANSACTION;BEGIN :new.afc212 := ‘1‘; delete from fc83 where afc001 = :new.afc001 and afa031 = :new.afa031 and afc210 = :new.afc21
標籤:這些天的工作很多都是圍繞著oracle函數來展開的,這裡來總結一下這些天在工作中使用過的函數。其實也算不上總結,就是把這些日子對於oracle的使用做一個簡單的知識羅列。以管道化表函數方式返回資料--建立指定資料類型的對象 create type row_typedepluju as object (rootid NUMBER(19),projectid NUMBER(19)); --建立指定資料類型的對象table create type table_typedepluju as