国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > Oracle > 正文

Oracle FAQs and Tips

2024-08-29 13:28:56
字體:
來源:轉載
供稿:網友

在已建好的table上添加primary key1.建立索引create  index test_idx on test(id);2.添加約束alter table testadd constraint test_pk primary key (id)using index test_idx;

在sqlplus中登陸時出現以下錯誤error:ora-12638: credential retrieval failed解決方法:修改sqlnet.ora如果sqlnet.authentication_services=  (nts)一行沒有被注釋,則注釋掉#sqlnet.authentication_services=  (nts)反之取消注釋

alter system set events='10231 trace name context forever,level 10' ; 內部事件,設置在全表掃描時跳過損壞的數據塊.

查看tablespace的空間使用情況select a.tablespace_name, trunc(sum(b.bytes/1024/1024),2) "free(m)", trunc(sum(a.bytes/1024/1024)-sum(b.bytes/1024/1024),2) "used(m)", trunc(sum(a.bytes/1024/1024),2) "all(m)", trunc(sum(b.bytes/1024/1024)/sum(a.bytes/1024/1024),2)*100||'%' "free(%)"from  dba_data_files ajoin  dba_free_space b  on(a.file_id=b.file_id)group by a.tablespace_name;如何指定tnsname.ora的位置設置環境變量tns_admin

獲取當前scn(9i以後)select dbms_flashback.get_system_change_number from dual;
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 铜川市| 定远县| 榆社县| 武宣县| 夏津县| 澄迈县| 呼和浩特市| 吉首市| 贵阳市| 和田市| 乌恰县| 台北市| 阳东县| 湘阴县| 泗水县| 额尔古纳市| 枞阳县| 鄂温| 资中县| 界首市| 固原市| 朝阳县| 和田市| 伊春市| 宜宾市| 德州市| 武山县| 柏乡县| 温州市| 凤阳县| 乌兰察布市| 木兰县| 北票市| 高邑县| 哈巴河县| 郯城县| 黎川县| 深圳市| 湖州市| 同仁县| 乌拉特后旗|