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

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

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

    2006年10月12日

    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'中無權(quán)限
    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 @ 2006-10-12 09:49 康文 閱讀(392) | 評(píng)論 (0)編輯 收藏

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

    導(dǎo)航

    統(tǒng)計(jì)

    常用鏈接

    留言簿(1)

    隨筆分類

    隨筆檔案

    文章檔案

    搜索

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 亚洲va在线va天堂成人| 女人18一级毛片免费观看| 亚洲AV无码乱码在线观看性色扶| 久久精品国产亚洲αv忘忧草 | 自怕偷自怕亚洲精品| 午夜精品免费在线观看| 亚洲AV无码专区亚洲AV伊甸园 | 亚洲一区二区三区不卡在线播放| 在免费jizzjizz在线播| 亚洲色av性色在线观无码| 在线观看无码AV网站永久免费| 亚洲性色高清完整版在线观看| a毛片基地免费全部视频| 99久久国产亚洲综合精品| 国产成人免费手机在线观看视频 | 国产高清对白在线观看免费91| 亚洲日韩国产精品乱| 免费在线黄色电影| 67pao强力打造67194在线午夜亚洲| 91高清免费国产自产| 亚洲精品精华液一区二区| 久久久久一级精品亚洲国产成人综合AV区 | 亚洲一卡一卡二新区无人区| 国产成人免费A在线视频| 午夜免费国产体验区免费的| 亚洲国产精品无码久久SM | 在线观看免费a∨网站| 深夜福利在线免费观看| 国产亚洲婷婷香蕉久久精品| 免费无码毛片一区二区APP| 国产午夜亚洲精品| 中文字幕亚洲天堂| 69成人免费视频| 黄网站在线播放视频免费观看| 亚洲日本va在线视频观看| 很黄很黄的网站免费的| 男女超爽视频免费播放| 亚洲人成电影在线天堂| 青青草国产免费久久久下载| 在线观看特色大片免费网站| 亚洲va乱码一区二区三区|