久久机这里只有精品,国产69精品一区二区亚洲孕妇,91精品国产综合久久婷婷香蕉,午夜久久久久久电影

最新活動:電腦PC端+手機端+微網站+自適應網頁多模板選擇-建站388元起價!!!
當前位置:主頁 > 網站建設 > Oracle學習筆記(四)建站知識

Oracle學習筆記(四)建站知識

時間:2023-05-22 21:05:22 閱讀: 文章分類: 網站建設 作者: 網站技術員

導讀:1建站知識最近需要用的oracle,所以大家好好的學習下基礎并整理下資料,希望能幫助到需要的朋友。網站建設制作網站建設哪家好。

網站建設制作網站建設哪家好

一、控制用戶存取 1、創建修改用戶Creating Users Create/alter user new_user identified by password; 例:create user user_1 indentified by pwd_1 alter user user_1 identified by pwd_2 2、給用戶授予權限 grant privilege[,privilege] to user [,user|role,public...] 一些系統權限: create session/table/sequence/view/procedure alter/delete/execute/index/insert/references/select/update grant object_priv [(columns)] on object to {user|role|public} [with grant option] 例如: 給用戶user_1授予查詢tt1表的權限 grant select on tt1表 to user_1 給用戶user_1授予修改“表1”中(列1,列2)的權限 grant update(列1,列2) on 表1 to user_1; 給用戶user_1 授予查詢權限并可以把該權限授予其他用戶的權限 grant select on tt1表 to user_1 with grant option 把權限授予所有用戶 grant select on 表1 to public; 給用戶user_1授權 grant create session to user_1; 二、創建角色并給角色授權 1、創建角色 create role mangager;seo網站優化軟件 例如:create role test_role1; 2、給角色授權 grant create table,create view to manager; 例如:grant create table to test_role1; 3、把角色授予用戶 grant manager to user_1,user_2... grant test_user1 to user_1; 三、取消用戶權限 revoke {privilege [,privilege...]|all} on object from {user[,user...]|role|public} [cascade constraints]; revoke select on 表1 from user_1; 四、Database Links create public database link hq.acme.com using 'sales'; select * from emp@hq.acme.com; 五、 oracle取并集、交集、差集 所取的列的數據類型必須兼容 1、取并集 union :會對數據排序,重復記錄壓縮,union all不會 select employee_id,job_id from employess union select employee_id,job_id from job_history; 取所有并集不去除重復數據 select employee_id,job_id from employess union all select employee_id,job_id from job_history; 2、取交集 select employee_id,job_id from employess intersect select employee_id,job_id from job_history; 3、差集 表employess去掉共同網站建設制作擁有的數據 select employee_id,job_id from employess minus select employee_id,job_id from job_history; 六、日期時間函數 求時差 select tz_offset('US/Eastern') from dual; alter session set time_zone='-8:0'; select sessiontimezone,current_date from dual; alter session set time_zone='-8:0'; select sessiontimezone,current_timestamp from dual; alter session set time_zone='-8:0'; select current_timestamp,localtimestamp from dual; select dbtimezone,sessiontimezone from dual; select from_tz(timestamp'2000-03-23 08:00:00','3:00') from dual; select to_timestamp('2000-02-01 11:00:00','YYYY-MM-DD HH:MI:SS')from dual; select to_timestamp_tz('2000-02-01 11:00:00','YYYY-MM-DD HH:MI:SS TZH:TZM')from dual; t網站seo優化培訓o_ymininterval()

關鍵詞標簽: 標簽 學習筆記

聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-22 ,文章Oracle學習筆記(四)建站知識主要講述學習筆記,標簽,Oracle學習筆記(四)建站知識1網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_5290.html

我的IDC 網站建設技術SEOUC.COM
專注網站建設,SEO優化,小程序設計制作搭建開發定制網站等,數千家網站定制開發案例,網站推廣技術服務。
  • 5000+合作客服
  • 8年從業經驗
  • 150+覆蓋行業
  • 最新熱門源碼技術文章

    主站蜘蛛池模板: 全椒县| 长武县| 土默特左旗| 黑山县| 韶关市| 会宁县| 弋阳县| 吴川市| 涪陵区| 阿拉善左旗| 连云港市| 中阳县| 从江县| 济源市| 开原市| 贵德县| 河南省| 惠州市| 平陆县| 双牌县| 岳普湖县| 绥中县| 湖口县| 西吉县| 温宿县| 略阳县| 收藏| 寻乌县| 双鸭山市| 田东县| 平远县| 南昌县| 贞丰县| 甘谷县| 漯河市| 成武县| 内丘县| 吉木萨尔县| 永福县| 凉城县| 银川市|