ÀûÓÃTOADʵÏÖEXCELÊý¾ÝÔÚoracleµÄµ¼Èëµ¼³ö
ÀûÓÃTOADʵÏÖEXCELÊý¾ÝÔÚoracleµÄµ¼Èëµ¼³ö
1.´ÓORACLEÊý¾Ý¿âµ¼³ö³ÉΪEXCELÎļþ
ÀûÓÃTOADÁ¬½ÓÉÏÊý¾Ý¿â£¬·ÃÎÊij¸ö±í£¬ÎÒ±¾»úÊÇÑ¡Öбí“OA_USER”
ÓÒ¼ü“Save as...”
ΪÁ˽â¾öÖÐÎÄÂÒÂëÎÊÌ⣬ËùÒÔÑ¡ÔñÀàÐÍΪ"XLS Instance"£¬Èç¹û´æÔÚ³¤Êý×ÖÐÍ×Ö·û´®±»¸Ä±äµÄÎÊÌ⣬
ÇëÑ¡ÖГString Fields as Strings”
Ñ¡ÔñÎļþµÄ´æ·Å·¾¶ Destination directory
µã»÷“OK”£¬»á´ò¿ªÒ»¸öEXCELÎļþ£¬ÎļþÖÐÒѾÊǵ¼³öµÄÊý¾Ý£¬µã»÷±£´æ£¬½«Õâ¸öÎļþ±£´æ¼´¿É¡£
2.½«EXCELÎļþÖÐijЩ×ֶε¼Èëµ½ORACLEÊý¾Ý¿âµÄ¶ÔÓ¦±í
Á¬½ÓÏëÒªµ¼ÈëµÄÊý¾Ý¿â
Database--->Import---->Table Data´ò¿ªÁ˵¼Èë´°¿Ú
ÔÚObject NameÖÐÑ¡ÔñÄ㽫Ҫµ¼ÈëµÄ±íÃû
µã»÷"Show Data" ---> "Execute Wizard"´ò¿ªÁ˵¼ÈëÏòµ¼
ÔÚµ¼ÈëÏòµ¼ÖÐÑ¡ÔñExcel fileÀàÐÍ£¬ÏÂÒ»²½
ÔÚimport from FileÖÐÑ¡Ôñ¸Õ¸Õµ¼³öµÄEXCELÎļþ£¬ÏÂÒ»²½
ĬÈÏ£¬ÏÂÒ»²½£»Ä¬ÈÏ£¬ÏÂÒ»²½
Ñ¡ÔñÊý¾Ý¿â×ֶζÔÓ¦µÄÁУ¬ÎÒ±¾»úÊÇUSER_LOGIN_ID¶ÔÓ¦CÁÐ
OA_LOGIN_ID¶ÔÓ¦BÁÐ £¬ ÏÂÒ»²½
ÔÙ´ÎÈ·ÈÏÁÐÓÐûÓе¼Èë´íÎó£¬ÏÂÒ»²½
µã»÷“Excecute”Ö´ÐнáÊø¡£
Ïà¹ØÎĵµ£º
1.Óû§¹ÜÀí
£¨1£©½¨Á¢Óû§£¨Êý¾Ý¿âÑéÖ¤£©
CREATE USER smith
IDENTIFIED BY smith_pwd
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp
QUOTA 5m ON users;
£¨2£©ÐÞ¸ÄÓû§
ALTER USER smith
QUOTA 0 ON SYSTEM;
£¨3£©É¾³ýÓû§
DROP USER smith;
DROP USER ......
OracleÖг£ÓõÄÃüÁîºÍº¯Êý£¬×ö¸öÕûÀí£¬ÒÔ±¸ÒÔºóÓõ½£¬·½±ã²éÔÄ¡£
³£ÓÃÃüÁ
Á¬½Ósqlplus
ÃüÁîÐÐÏÂÔËÐÐcmd½øÈ룬ÈçÒÔsysģʽµÇ½£¬ÃüÁîÈçÏ£º
(1).sqlplus "sys/zhb126 as sysdba"
(2).sqlplus/nolog connect sys/zhb126 as sysdba
(3).sqlplus scott ......
phpµ÷ÓÃoracleÐд洢¹ý³Ì############################################################
PHP³ÌÐò·ÃÎÊÊý¾Ý¿â£¬ÍêÈ«¿ÉÒÔʹÓô洢¹ý³Ì£¬ÓÐÈËÈÏΪʹÓô洢¹ý³Ì±ãÓÚά»¤
²»¹ýÈÊÕß¼ûÈÊ£¬ÖÇÕß¼ûÖÇ¡£
ÔÚÕâ¸öÎÊÌâÉÏ£¬Å¼ÈÏΪʹÓô洢¹ý³ÌÒâζ×űØÐëÒªDBAºÍ¿ª·¢ÈËÔ±¸ü½ôÃÜÅäºÏ,Èç¹ûÆäÖÐÒ»·½¸ü±ä£¬ÔòÏÔÈ»ÄÑÒÔά»¤¡£
µ«ÊÇʹÓô洢 ......
ÔÚORACLE Êý¾Ý¿âµÄ¿ª·¢»·¾³ºÍ²âÊÔ»·¾³ÖУ¬Êý¾Ý¿âµÄÈÕ־ģʽºÍ×Ô¶¯¹éµµÄ£Ê½Ò»°ã¶¼ÊDz»ÉèÖõģ¬ÕâÑùÓÐÀûÓÚϵͳӦÓõĵ÷Õû£¬Ò²ÃâµÄÉú³É´óÁ¿µÄ¹éµµÈÕÖ¾Îļþ½«´ÅÅ̿ռä´óÁ¿µÄÏûºÄ¡£µ«ÔÚϵͳÉÏÏߣ¬³ÉΪÉú²ú»·¾³Ê±£¬½«ÆäÉèÖÃΪÈÕ־ģʽ²¢×Ô¶¯¹éµµ¾ÍÏàµ±ÖØÒªÁË£¬ÒòΪ£¬ÕâÊDZ£Ö¤ÏµÍ³µÄ°²È«ÐÔ£¬ÓÐЧԤ·ÀÔÖÄѵÄÖØÒª´ëÊ©¡£ÕâÑù£¬Í¨¹ý¶¨Ê ......
1.½¨±í£¬²åÈëÊý¾Ý
create table dept(deptno number,deptname varchar2(20),mgrno number);
insert into dept values(1,'×ܹ«Ë¾',null);
insert into dept values(2,'Õã½·Ö¹«Ë¾',1);
insert into dept values(3,'º¼ÖÝ·Ö¹«Ë¾',2);
insert into dept values(4,'ºþ±±·Ö¹«Ë¾',1);
insert into dept values(5,'Î人·Ö¹«Ë¾ ......