值得一看
Oracle update關(guān)聯(lián)表的思路總結(jié)
1、 其中最普通的是update t1 set b=(select b from t2 where t1.a=t2.a); 但是,要注意空值的影響, 如果怕空值的影響,要寫成 update t1 set tname= (select sname from t2 where t1.id=t2.id) w...
centos怎么使用U盤
要想使用u盤,我們需要將u盤掛載,具體方法如下: 1、查看系統(tǒng)硬盤和分區(qū)情況 fdisk?-l 2、插入U盤,再次用命令查看并確認(rèn)自己的U盤 此時我們的系統(tǒng)中應(yīng)該多了一個硬盤/dev/sdb和它的一個分區(qū)/...
MySQL 5.5 DBA工具 多進程dump 多進程load 多進程備份還原 Pytho
需要安裝 python MySQL-python gzip : yum install python MySQL-python gzip -y dump 腳本 1. 2.Created on 2012-8-20 3.mysql dump to load 4.@author: tudou@b2c.xiaomi.com 5. 6.import os...
centos7怎么設(shè)置ip地址
首先打開ifcfg-eth0 文件 #?vim?/etc/sysconfig/network-scripts/ifcfg-eth0 然后修改如下內(nèi)容 BOOTPROTO="static"?#dhcp改為static??? ONBOOT="yes"?#開機啟用本配...
centos怎么設(shè)置開機進入命令行模式
環(huán)境:centos7 首先查看系統(tǒng)當(dāng)前的運行級別 systemctl?get-default 然后設(shè)置開機進入命令行模式 systemctl?set-default?multi-user.target 最后重啟系統(tǒng)即可。 推薦教程:centos教程以上就是
Oracle 11gR2 RAC安裝 報【INS-20802】(PRVF-5436) 錯誤
1.INFO: 11rac2,11rac1 2.INFO: PRVF-5436 : The NTP daemon running on one or more nodes lacks the slewing option -x 3.INFO: Clock synchronization check using Network Time Protocol(NT...
Oracle with子句
以例子學(xué)習(xí)with: 1.with 2.--查詢部門和部門的總薪水 3. dept_costs as ( 4. select d.department_name,sum(e.salary) dept_total 5. from departments d,employees e 6. where d.department_i...
centos如何查看版本號
1、使用lsb_release -a命令查看 [root@sky9896sky]#?lsb_release?-a bash:lsb_release:?command?not?found [root@sky9896sky]#yum?install?lsb?–y [root@sky9896sky]#?lsb_release?-...
centos7怎么添加新用戶
1、創(chuàng)建新用戶 adduser?[用戶名] 2、修改新用戶的密碼 passwd?[用戶名] 由于新創(chuàng)建的用戶并不能使用sudo命令,所以我們需要給它添加授權(quán)。 3、為sudoers文件添加可寫權(quán)限 chmod?-v?u+w?/et...
Oracle 11gR2 RAC中修改數(shù)據(jù)庫的SPFILE文件位置
在Oracle 11GR2 RAC中修改DATABASE spfile文件的位置不是原來的$ORACLE_HOME/dbs/initORACLE_SID.ora文件了,如果我們手動修改了這個文件,當(dāng)使用sqlplus手動啟動數(shù)據(jù)庫的時候仍會生效,但是如...
centos怎么查看網(wǎng)關(guān)地址
使用netstat -rn命令查看 使用cat /etc/sysconfig/network-scripts/ifcfg-eth0命令查看 使用route -n命令查看 推薦教程:centos教程以上就是