溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

winserver 2012R2 安裝oracle及創(chuàng)建表流程(推薦)

發(fā)布時(shí)間:2020-10-17 14:49:09 來(lái)源:腳本之家 閱讀:225 作者:uu無(wú)極 欄目:數(shù)據(jù)庫(kù)

一、安裝oracle11g數(shù)據(jù)庫(kù):

       在Winserver 2012 R2 操作系統(tǒng)安裝oracle數(shù)據(jù)庫(kù)前,需要先啟動(dòng)系統(tǒng)本地的.net framework3.5服務(wù)功能,注意不是下載.net framework3.5安裝,而是系統(tǒng)自帶該服務(wù),只不過(guò)處于禁用狀態(tài)。啟動(dòng)服務(wù)器.net framework3.5的具體步驟:服務(wù)器管理器——>添加功能和角色——>下一步,默認(rèn)至功能項(xiàng),選擇啟動(dòng).net framework3.5即可。

       接下來(lái),按常規(guī)步驟安裝oracle。

二、oracle自定義表空間及數(shù)據(jù)表創(chuàng)建    

//第一步:查看數(shù)據(jù)庫(kù)表空間位置
   select t1.name,t2.name from v$tablespace t1,v$datafile t2 where t1.ts# = t2.ts#;
    //第二步:創(chuàng)建臨時(shí)及默認(rèn)表空間 
    create temporary tablespace spacename_temp
    tempfile 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\spacename.DBF'
    size 50m
    autoextend on
    next 50m maxsize 20480m
    extent management local;
    create tablespace spacename
    logging
    datafile '第一步的路徑\tablespacename.DBF'
    size 50m
    autoextend on
    next 50m maxsize 20480m
    extent management local;
    //第三步:創(chuàng)建用戶并指定表空間
    create user username identified by password
    default tablespace spacename
    temporary tablespace spacename_temp;
   //第四步:給用戶授予權(quán)限
   grant dba,connect,resource to username;

以上所述是小編給大家介紹的winserver 2012R2 安裝oracle及創(chuàng)建表流程,希望對(duì)大家有所幫助,如果大家有任何疑問(wèn)請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)億速云網(wǎng)站的支持!

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI