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

dspace windows oracle install

 ½ñÌìÁ˽âÁËһϿªÔ´dspaceÈí¼þ£¬ÏÖ½«°²×°¹ý³Ì×ܽáÈçÏ£º
1¡¢»·¾³ÉèÖÃ
   1.1 ÏÂÔØjdk1.6.x²¢°²×°,°²×°Ê±Ñ¡ÔñĬÈÏ°²×°Â·¾¶¼´¿É
       Ò»°ãΪ C:\Program Files\Java\jdk1.6.0_10
       ÉèÖÃJAVA_HOME,ÉèÖÃCLASSPATHºÍPATH
2¡¢×é¼þ×¼±¸
   2.1 ÏÂÔØ×îаæmaven2.2.1
      http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.zip
      ÏÂÔØÍê½âѹºó·ÅÔÚ%maven%Ŀ¼Ï£¬È»ºóÉèÖÃmavenµÄ»·¾³±äÁ¿
       н¨»·¾³±äÁ¿£º±äÁ¿ÃûM2_HOME ±äÁ¿Öµ%maven%
       ±ÈÈç%maven%ΪD:/maven2.2.1Ôò M2_HOME=D:/maven2.2.1,ͬʱÔÚPATHÖÐÔö ¼Ó%M2_HOME%\bin
   2.2 ÏÂÔØ×îаæapache-ant-1.8.0-bin.zip
      http://ant.apache.org/bindownload.cgi
      ÔØÍê½âѹºó·ÅÔÚ%ant%Ŀ¼ÏÂ,ͬʱÔÚPATHÖÐÔö¼Ó%ant%\bin
   2.3 ÏÂÔØ×îаæoracle10g
    Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)
         http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip
         http://download.oracle.com/otn/nt/oracle10g/10201/10201_client_win32.zip
         http://download.oracle.com/otn/nt/oracle10g/10201/10201_clusterware_win32.zip
         http://download.oracle.com/otn/nt/oracle10g/10201/10201_gateways_win32.zip
    ÏÂÔغó¸ù¾ÝÌáʾһ²½Ò»²½½øÐа²×°¡£
    °²×°Íê³Éºó£¬µã»÷¿ªÊ¼->ËùÓгÌÐò->Oracle Database 10g Enterprise Edition ->תÖÁÊý¾Ý¿âÖ÷Ò³
    ÊäÈëDBAµÄÓû§ÃûºÍÃÜÂë(Ò²¾ÍÊÇÔÚ°²×°Ê±×Ô¼ºÉèµÄÓû§ÃûºÍÃÜÂë)¡£µÇ¼³É¹¦ºó´´½¨Óû§dspaceºÍÃÜÂëdspace
   2.4 ÏÂÔØoracleµÄÇý¶¯°üojdbc14.jar
     http://www.oracle.com/technology/


Ïà¹ØÎĵµ£º

Oracle´æ´¢¹ý³ÌʵÀý

×Ô¶¨Ò庯Êý 
--×Ô¶¨Ò庯Êý
CREATE OR REPLACE FUNCTION fn_WFTemplateIDGet
(
    TemplateCategoryID NUMBER,
    OrganID NUMBER,
    TemplateMode NUMBER

RETURN NUMBER
IS
   ......

Oracle DECODE

Óï·¨£º
DECODE(expr, search, result [, search, result ]... [, default ] )
Ó¦Óãº
DECODEº¯Êý½«Ã¿Ò»¸öexprºÍsearchµÄÖµ×ö±È½Ï¡£Èç¹ûexprµÄÖµÓësearchµÄÖµÏàµÈ£¬OracleÊý¾Ý¿â¾Í»á·µ»ØÏàÓ¦µÄresult¡£Èç¹ûÕÒ²»µ½Æ¥ÅäµÄÖµ£¬Oracle·µ»Ødefault¡£Èç¹ûûÓÐdefault£¬Oracle·µ»ØnullÖµ¡£²ÎÊý¿ÉÒÔÊÇÈÎÒâÊýÖµÀàÐÍ£¨NUMBER£¬BINAR ......

ÓÃoracle¶ÁÈ¡±¾µØÎļþ

ÓÃoracle¶ÁÈ¡±¾µØÎļþ
Ê×ÏÈÒªÔÚoracleÖд´½¨Îļþ¼Ð£¬È»ºó¸³ÓèÏàÓ¦µÄ¶ÁдȨÏÞ£¬È»ºóÊý¾Ý¿â²ÅÄܶÁȡϵͳÖеÄÎļþ
--´´½¨Îļþ¼Ð ²¢¸³ÓèȨÏÞ¸øÓû§
create or replace directory DIRNAME as 'D:\skybook2';
grant read,write on directory DIRNAME as to USERNAME;
GRANT EXECUTE ON utl_file TO USERNAME;
´´½¨³É¹¦¿ÉÒÔ² ......

oracleѧϰ±Ê¼Ç2

ʹÓÃunrecoverable´´½¨±í
create table new_emp as select * from emp unrecoverable;
create table new_emp as select * from emp nologging; 
ÍƼöʹÓÃlogging»òÕßnologging.
½«±íÒƶ¯µ½ÐµÄÊý¾Ý¶Î»òеıí¿Õ¼ä
ͨ¹ýÒƶ¯À´ÊµÏÖ´æ´¢²ÎÊýµÄÐÞ¸Ä
alter table emp move storage(initial 1m next 512k mimexte ......

Oracle expÏê½â

 µ¼Èë/µ¼³öÊÇORACLEÐÒ´æµÄ×î¹ÅÀϵÄÁ½¸öÃüÁîÐй¤¾ß£¬ÆäʵÎÒ´ÓÀ´²»ÈÏΪExp/ImpÊÇÒ»Öֺõı¸·Ý·½Ê½£¬ÕýÈ·µÄ˵·¨ÊÇExp/ImpÖ»ÄÜÊÇÒ»¸öºÃµÄת´¢¹¤¾ß£¬ÌرðÊÇÔÚСÐÍÊý¾Ý¿âµÄת´¢£¬±í¿Õ¼äµÄǨÒÆ£¬±íµÄ³éÈ¡£¬¼ì²âÂß¼­ºÍÎïÀí³åÍ»µÈÖÐÓв»Ð¡µÄ¹¦ÀÍ¡£µ±È»£¬ÎÒÃÇÒ²¿ÉÒÔ°ÑËü×÷ΪСÐÍÊý¾Ý¿âµÄÎïÀí±¸·ÝºóµÄÒ»¸öÂß¼­¸¨Öú±¸·Ý£¬Ò²ÊDz»´íµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ