<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Manager User

    create user test1 identified by test1;
    grant connect,create table to test1;
    conn cyts_cc/cyts_cc@orcl2000;
    create table(
    id int)
    tablespace user;
    ERROR 位于第 1 行:
    ORA-01950: 表空間'USERS'中無權限
    conn cyts_cc/cyts_cc@orcl2000;
    alter user test1 quota 1M on users;
    create tab
    (id int);
    success
    alter user test1 account lock;
    conn test1/test1@orcl2000;
    ERROR:
    ORA-28000: the account is locked
    1 Database Schema
    ?a schema is a named collection of objects
    ?b user is created and a corresponding schema is created
    ?c user can be associated only with one schema
    ?d username and schema are often userd interchangely.
    2 Checklist for creating users
    ? a idntfigy tablespaces in which the usr nedds to store objects
    ? b decide on quotas for each tablespace
    ? c assign a default tablespace and temporary tablespace.if you do not specify at the time of create user,system tablespace will be the defalut tablespace and temporary.it will affect the performance of the oralce.
    ? d create user
    ? e grant privileges and roles to user
    ? desc dba_users;
    ? select * from dba_users;
    3 Creating a new user:
    Database Authentiacation
    ?set the initial password
    ? create user aaron
    ? identified by soccer
    ? default tablespace data
    ? temporary tablespace temp
    ? guota 15m on data
    ? password expire;

    ? alter database default temporary tablespace temp;
    4 Creating a new user operating System Authentication
    ? os_authent_prefix initialllization parameter specifies the format of the username
    ? defauts to ops$
    ??? create user arron
    ??? identified externally
    ??? default tablespace users
    ??? temporary tablespace temp
    ??? quota 15m on data
    ??? password expire;

    ??? conn /
    ??? show parameter os
    ??? os_authent_prefix??????????????????? string?????????????????????????? OPS$
    ??? create user ops$test3
    ????? identified externally
    ????? default tablespace us
    ????? temporary tablespace
    ????? quota 10m on users
    ??? thee test2 is an user of os ,which the oracle is installed.
    5 Changing user quota on tablespace
    ?alter user test3 quota 4m on users;
    ?you cann't grant quota on temp and undotbs.
    ?
    ?alter quota 0 on uers -- means that no new table space can be allocated and cannot change the exist object in the tablespaces
    6 drop user
    ?you cannot drop user who has connected to oracle
    ? drop user (cascade)
    7 Obtaining User information
    ?information about uers can be obtained by qerying the data dictionary
    ? dba_users
    ? 名稱??????????????????????????
    -----------------------------
    USERNAME??????????????????????
    USER_ID???????????????????????
    PASSWORD??????????????????????
    ACCOUNT_STATUS????????????????
    LOCK_DATE?????????????????????
    EXPIRY_DATE???????????????????
    DEFAULT_TABLESPACE????????????
    TEMPORARY_TABLESPACE??????????
    CREATED???????????????????????
    PROFILE???????????????????????
    INITIAL_RSRC_CONSUMER_GROUP???
    EXTERNAL_NAME?????????????????
    ? dba_ts_quotas
    ?? 名稱??????????
    ?---------------
    ?TABLESPACE_NAME
    ?USERNAME??????
    ?BYTES?????????
    ?MAX_BYTES?????
    ?BLOCKS????????
    ?MAX_BLOCKS????

    posted on 2006-10-12 09:49 康文 閱讀(392) 評論(0)  編輯  收藏 所屬分類: 數據庫

    <2006年10月>
    24252627282930
    1234567
    891011121314
    15161718192021
    22232425262728
    2930311234

    導航

    統計

    常用鏈接

    留言簿(1)

    隨筆分類

    隨筆檔案

    文章檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲Av无码乱码在线播放| 99热精品在线免费观看| 好男人www免费高清视频在线 | 国产精品成人免费一区二区| 亚洲精彩视频在线观看| 亚洲美女视频免费| 亚洲成人黄色网址| 久久久久久久免费视频| 亚洲av无码专区在线| 免费A级毛片无码免费视| 亚洲狠狠婷婷综合久久蜜芽| 在线精品免费视频| 久久久久久亚洲精品无码| 国产精品视_精品国产免费| 国产成人综合久久精品亚洲| 亚洲成a人片在线观看久| 丰满人妻一区二区三区免费视频| 国产日产亚洲系列| 久久99国产综合精品免费| 激情综合亚洲色婷婷五月APP| 免费看www视频| 九九久久国产精品免费热6| 亚洲av无码专区国产乱码在线观看| 日本高清高色视频免费| 亚洲一区在线观看视频| 国产zzjjzzjj视频全免费| 中文在线日本免费永久18近| 亚洲一区中文字幕久久| 在线观看免费大黄网站| 成年免费a级毛片| 噜噜噜亚洲色成人网站∨| 免费无码又爽又刺激高潮| 久久www免费人成精品香蕉| 亚洲黄色在线播放| 国产精品免费看香蕉| 另类免费视频一区二区在线观看| 亚洲人成片在线观看| 亚洲精品久久久www | 亚洲2022国产成人精品无码区| 久久久高清免费视频| 亚洲五月午夜免费在线视频|