Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracleѧϰ±Ê¼Çժ¼3

 ¡¶1¡·DDLÓï¾ä(Êý¾Ý¶¨ÒåÓïÑÔ) Data Define Language
   create
   alter
   drop
   truncate ¿ªÍ·µÄÓï¾ä truncate table <±íÃû>
      Ìصã:<1>½¨Á¢ºÍÐÞ¸ÄÊý¾Ý¶ÔÏó
           <2>½¨Á¢ºÍÐÞ¸ÄÖ±½Ó´æÈë¿âÖÐ,Ö±½ÓÉúЧ
    ½¨Á¢±í
       create table class(--°à¼¶±í
          classid number(2) primary key,
          cname varchar2(20) not null);
       /*wdsadsadsad
         asdsadsadsadsad
         ¶àÐÐ×¢ÊÍ  
        */  
       create table student( --ѧÉú±í
         xh number(4) primary key, --ѧºÅ
         name varchar2(10) not null, --ÐÕÃû
         sex  char(2)  check (sex in ('ÄÐ','Å®')),--ÐÔ±ð
         birthday date,--ÉúÈÕ
         sal number(7,2), --½±Ñ§½ð
         classid number(2) references class(classid) --°à¼¶          
       );
 Íâ¼üÒýÓõÄÁÐÒ»¶¨ÊÇÖ÷¼ü»òÓÐuniqueÔ¼ÊøµÄÁÐ
 
  alter table student add (shengfenzheng number(18));
  drop table student;  ɾ³ý½á¹¹
  delete from student; ֻɾ³ýÊý¾Ý£¬ËÙ¶ÈÂý£¬Êý¾Ý¿ÉÒÔ»Ö¸´
  truncate table student; ɾ³ý¼Ç¼µÄ Ëٶȿì Êý¾Ý²»Äָܻ´
 ¡¶2¡· DMLÓï¾ä(Êý¾Ý²Ù×÷ÓïÑÔ) Data Manupilate Language     
   select
   insert
   delete
   update
 


Ïà¹ØÎĵµ£º

Introduction to Oracle Wait Interface notes

     ÎÄÕÂÌáµ½£¬ÓÃCache hit ratioµÄ·½·¨À´¼ì²éORACLEÐÔÄÜÎÊÌâ¹ýʱÁË£¬ÀïÃæÓоä·Ç³£ÐÎÏóµÄ»°£ºÕâÎÞÒìÓÚÒ»¸öÒ½ÉúÖ»ÖªµÀ¸ù¾ÝѪѹµÄÀ´ÖÎÁƲ¡ÈË£¬¶ø²¡ÈËÓÉÓÚÌÛÍ´£¬Éñ¾­ÐË·Ü£¬ÑªÑ¹ÔÚÒ»¸öºÏÀíµÄ·¶Î§ÄÚ£¬Ò½ÉúÈ´¸æËß»¼Õߣ¬Äãû²¡£¬µÈÄãѪѹµÍµÄʱºòÔÙÀ´¡£Í¬ÑùµÄ£¬ÎÒÃDz»Äܽö½ö¸ù¾ÝCache hit ratioÀ´ÅжÏORACLEÊ ......

sql serverÖÐinºÍexistsµÄСÇø±ð oracleδ²âÊÔ

in µÄ»°£¬ Èç¹ûÊÇnull ¾Í²»±È½ÏÁË£¬¼È²»ÊÇin Ò²²»ÊÇ not in
existsµÄ»° ÒòΪÓà = ¼ÓÔÚÌõ¼þÀï±È½ÏÁË£¬ËùÒÔ null ÊÇ not exists
select *
from pricetemp
where cast(ÉÌÆ·¥³ー¥É as varchar(10))not in(
           select shohin_cd
  &nbs ......

²»°²×°Oracle¿Í»§¶ËÔ¶³ÌÁ¬½ÓOrcaleÊý¾Ý¿â

×î½üÓÐÒ»ÈÎÎñ£¬ÐèҪʹÓÃOracleÊý¾Ý¿â£¬ÒÔÇ°¶Ô´Ë²»Ì«ÊìϤ£¬¾Í´ÓÍøÉϲéÕÒ×ÊÁÏ£¬£¨ËµÊµÔÚµÄÍøÂçÕæÊÇÌ«ºÃÁË£¬Ò²¶à¿÷ÁËÐí¶àµÄÈÈÐĵļ¼ÊõÈËÔ±£¬Ô¸Òâ°Ñ×Ô¼ºµÄ¾­ÑéºÍÐĵÃÓë´ó¼Ò·ÖÏí£©²¢×ªÌùÁËÒ»¸öÌû×Ӳο¼£¬²»¹ý´ËÌû×ÓÓÐЩµØ·½Ã»ÓÐ˵Çå³þ£¬È·ÊµÈÃÎÒ·ÑÁ˺ô󾢣¬²Å²âÊԳɹ¦¡£ÏÂÃæÎÒ°ÑÎҵIJ½Öè˵Ã÷һϣº£¨»·¾³£ºWindows XP sp2 + vs ......

ÈçºÎ½«TXT,EXCEL»òCSVÊý¾Ýµ¼ÈëORACLEµ½¶ÔÓ¦±íÖÐ

 ·½·¨Ò»£¬Ê¹ÓÃSQL*Loader  
  Õâ¸öÊÇÓõĽ϶àµÄ·½·¨£¬Ç°Ìá±ØÐëoracleÊý¾ÝÖÐÄ¿µÄ±íÒѾ­´æÔÚ¡£  
  ´óÌå²½ÖèÈçÏ£º  
  1   ½«excleÎļþÁí´æΪһ¸öÐÂÎļþ±ÈÈçÎļþÃûΪtext.txt£¬ÎļþÀàÐÍÑ¡Îı¾Îļþ£¨ÖƱí·û·Ö¸ô£©£¬ÕâÀïÑ¡ÔñÀàÐÍΪcsv£¨¶ººÅ·Ö¸ô£©Ò²ÐУ¬µ«ÊÇÔÚдºóÃæµÄcontrol. ......

OracleÎﻯÊÓͼ¼ò½é¼°ÊµÕ½

1.1.1             OracleÎﻯÊÓͼ¼ò½é
1.     ÎﻯÊÓͼ˵Ã÷
ÎﻯÊÓͼ (Materialized View)£¬ÔÚÒÔÇ°µÄOracle°æ±¾ÖгÆΪ¿ìÕÕ(Snapshot)¡£Oracle µÄÎﻯÊÓͼÌṩÁËÇ¿´óµÄ¹¦ÄÜ£¬¿ÉÒÔÓÃÓÚÔ¤ÏȼÆËã²¢±£´æ±íÁ¬½Ó»ò¾Û¼¯µÈºÄʱ½Ï¶àµÄ²Ù×÷µÄ½á¹û ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ