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

oracle ×Ô¶¯½¨¿â

Ê×ÏÈдºÃ½¨¿â½Å±¾c.sql
¡¡¡¡
¡¡¡¡create database mydb
¡¡¡¡controlfile reuse
¡¡¡¡maxinstances 1
¡¡¡¡maxloghistory 1
¡¡¡¡maxlogfiles 5
¡¡¡¡maxlogmembers 5
¡¡¡¡maxdatafiles 100
¡¡¡¡datafile '$ORACLE_HOME/oradata/system01.dbf'size 325M reuse
¡¡¡¡autoextend on next 10240K maxsize unlimited
¡¡¡¡undo tablespace D_DUTSCR
¡¡¡¡datafile '/$ORACLE_HOME/oradata/undo01.dbf' SIZE 40M reuse
¡¡¡¡character set AL32UTF8
¡¡¡¡national character set UTF8
¡¡¡¡logfile
¡¡¡¡'$ORACLE_HOME/oradata/redo01.log' size 100M reuse,
¡¡¡¡'$ORACLE_HOME/oradata/redo02.log' size 100M reuse,
¡¡¡¡'$ORACLE_HOME/oradata/redo03.log' size 100M reuse,
¡¡¡¡'$ORACLE_HOME/oradata/redo04.log' size 100M reuse
¡¡¡¡default temporary tablespace TEMP
¡¡¡¡tempfile
¡¡¡¡'$ORACLE_HOME/oradata/temp01.dbf' size 50M reuse
¡¡¡¡extent management local uniform size 1M;
¡¡¡¡
¡¡¡¡--------------------------------------------
¡¡¡¡
¡¡¡¡½¨Á¢Êý¾Ý×ÖµäµÄÎļþÊÇ£º
¡¡¡¡
¡¡¡¡$ORACLE_HOME/rdbms/admin/catalog.sql
¡¡¡¡
¡¡¡¡$ORACLE_HOME/rdbms/admin/catproc.sql
¡¡¡¡
¡¡¡¡$ORACLE_HOME/rdbms/admin/catexp.sql
¡¡¡¡
¡¡¡¡---------------------------------------------
¡¡¡¡
¡¡¡¡½¨Á¢ÆäËüµÄ±í¿Õ¼äºÍspfile£¬Ò²Ð´Ò»¸ö½Å±¾c2.sql£º
¡¡¡¡
¡¡¡¡create tablespace users
¡¡¡¡datafile '$ORACLE_HOME/oradata/user01.dbf'¡¡size 25m reuse
¡¡¡¡autoextend on next 1024k maxsize unlimited
¡¡¡¡extent management local uniform size 500K;
¡¡¡¡create spfile='$ORACLE_HOME/dbs/spfileinter.ora' from pfile='inter.ora';
¡¡¡¡
¡¡¡¡----------------------------------------------
¡¡¡¡
¡¡¡¡ºÃ£¬½Å±¾¶¼×¼±¸ºÃÁË£¬Êµ¼Ê²Ù×÷ͨ³£ÊÇÕâÑùµÄ£º
¡¡¡¡
¡¡¡¡ÒÔnomount·½Ê½Æô¶¯Ò»¸öʵÀý³É¹¦
¡¡¡¡
¡¡¡¡È»ºó£¬¿ªÊ¼½¨¿â
¡¡¡¡
¡¡¡¡SQL> @$ORACLE_HOME/c.sql
¡¡¡¡
¡¡¡¡»áÍ£ÔÚÕâÀïºÃÒ»¶Îʱ¼ä£¬Èç¹û±¨´í£º
¡¡¡¡
¡¡¡¡create database mydb
¡¡¡¡*
¡¡¡¡error at line 1
¡¡¡¡ORA-01092: ORACLE instance terminated. Disconnection forced.
¡¡¡¡
¡¡¡¡¾Í²é¿´ÈÕÖ¾£¬ $ORACLE_HOME/rdbms/log/alert.log£¬³ý·ÇÇå¿Õ£¬·ñÔò´ËÎļþ¼Ç¼ÿһ´Î½¨¿âµÄ¹ý³Ì£¬Õâ¸öĿ¼ÏµÄ×îºóÒ»¸öÎļþ¼Ç¼ÁË×îºóÒ»´Î½¨¿âʱ³öÏֵĴíÎ


Ïà¹ØÎĵµ£º

Oracle¶àÐмǼºÏ²¢/Á¬½Ó/¾ÛºÏ×Ö·û´®µÄ¼¸ÖÖ·½·¨

ʲôÊǺϲ¢¶àÐÐ×Ö·û´®£¨Á¬½Ó×Ö·û´®£©ÄØ£¬ÀýÈ磺
SQL> desc test;
Name     Type          Nullable Default Comments
------- ------------ -------- ------- --------
COUNTRY VARCHAR2(20) Y       &nb ......

oracle internal number Êý¾ÝÀàÐÍ´æ´¢

ת×Ô£ºhttp://ilonng.blog.sohu.com/130335741.html
   oracleµÄnumberÀàÐÍÊÇÒ»ÖÖÈí¼þÊý¾ÝÀàÐÍ£¬ÔÚoracleÈí¼þ±¾ÉíÖÐʵÏÖ£¬ÎÒÃDz»ÄÜʹÓùÌÓÐÓ²¼þ²Ù×÷½«Á½¸önumberÀàÐÍÏà¼Ó£¬ÕâÒªÔÚÈí¼þÖÐÄ£Ä⣬number ÀàÐ͵ÄÄÚ²¿±àÂëÊÇ2¡£oracle´æ´¢Ò»¸öÊýµÄʱ£¬»á´æ´¢¾¡¿ÉÄÜÉÙµÄÄÚÈÝÀ´±íʾÕâ¸öÊý£¬Îª´ËËü»á´æ´¢ÓÐЧÊý×Ö¡¢ÓÃÓÚÖ¸¶ ......

Oracle 1z0 047 Exam


Exam Number/Code : 1z0-047
Exam Name : Oracle Database SQL Expert
Questions and Answers : 278 Q&As
Update Time: 2010-04-15
1. Which two statements are true regarding the execution of the correlated subqueries? (Choose two.)
A. The nested query executes after the outer query returns th ......

oracle ²Ù×÷±íʾÀý

1.´´½¨±í£º
       a. ´´½¨xs±íÖмÆËã»úרҵѧÉúµÄ±¸·Ý
           Create table xs_jsj as select * from xs where zym=’¼ÆËã»ú’;
       b.ÍêÕûµÄÀý×Ó£º
¡¡¡¡¡¡¡¡¡¡ Create table test ......

oracle ²Ù×÷±íʾÀý

1.´´½¨±í£º
       a. ´´½¨xs±íÖмÆËã»úרҵѧÉúµÄ±¸·Ý
           Create table xs_jsj as select * from xs where zym=’¼ÆËã»ú’;
       b.ÍêÕûµÄÀý×Ó£º
¡¡¡¡¡¡¡¡¡¡ Create table test ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ