Cov txheej txheem:

Yuav ua li cas koj xyuas seb tus neeg siv tau nkag mus rau lub rooj hauv Oracle?
Yuav ua li cas koj xyuas seb tus neeg siv tau nkag mus rau lub rooj hauv Oracle?

Video: Yuav ua li cas koj xyuas seb tus neeg siv tau nkag mus rau lub rooj hauv Oracle?

Video: Yuav ua li cas koj xyuas seb tus neeg siv tau nkag mus rau lub rooj hauv Oracle?
Video: Qhia saib yus tus hlub lub xov tooj seb nws kov txog dab tsi thaum yus nyob deb 2024, Hlis ntuj nqeg
Anonim

Rau txiav txim uas cov neeg siv muaj nyiaj pab ncaj qha nkag mus rau ib lub rooj peb yuav siv tus DBA_TAB_PRIVS saib : SELECT * FROM DBA_TAB_PRIVS; Koj tuaj yeem kuaj xyuas cov ntaub ntawv raug cai rau cov lus qhia ntxiv txog tus kab rov qab los ntawm cov lus nug no, tab sis tus Cov kab tseem ceeb yog: GRANTEE yog cov npe of tus neeg siv nrog tso cai nkag mus.

Ntawm no, kuv tuaj yeem pom txhua tus neeg siv hauv Oracle li cas?

Koj nrhiav tau txhua tus neeg siv tsim nyob rau hauv Oracle los ntawm kev khiav ib qho lus nug los ntawm qhov hais kom ua. Cov neeg siv cov ntaub ntawv khaws cia hauv ntau lub rooj sib tham - ALL_USERS thiab DBA_USERS, nyob ntawm seb dab tsi neeg siv cov ntaub ntawv uas koj xav kom retrieve.

Tom qab ntawd, lo lus nug yog, Dba_sys_privs yog dab tsi? DBA_SYS_PRIVS piav qhia txog kev cai lij choj tso cai rau cov neeg siv thiab lub luag haujlwm.

Ib yam li ntawd, tib neeg nug, Kuv yuav muab tus neeg siv lub tswvyim hauv Oracle li cas?

Yuav Ua Li Cas Tsim Tus Neeg Siv thiab Tso Cai Hauv Oracle

  1. Tsim cov neeg siv phau ntawv_admin IDENTIFIED BY MyPassword;
  2. PAUB CONNECT TO books_admin;
  3. GRANT CONNECT, RESOURCE, DBA TO books_admin;
  4. GRANT CREATE SESSION PAUB TIAS NYIAJ TXIAJ NTSIM RAU phau ntawv_admin;
  5. PAUB TIAS UNLIMITED TABLESPACE TO books_admin;
  6. GRANT SELECT, INSERT, UPDATE, DELETE RAU schema. phau ntawv TO books_admin;

Dab tsi yog cov cai hauv Oracle?

Qhov system cov cai . Ib qhov system muaj cai yog txoj cai los ua ib qho kev txiav txim los yog ua ib qho kev txiav txim ntawm ib yam khoom ntawm ib hom tshwj xeeb. Cov khoom muaj xws li cov ntxhuav, views, materialized views, synonyms, indexes, sequences, cache pawg, replication schemes thiab PL/SQL functions, cov txheej txheem thiab tej pob khoom.

Pom zoo: