Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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µÄNVL()º¯ÊýºÍMySQLÖеÄIfNull()º¯Êý

MS SQL ÖеÄIsNull()º¯Êý£º
IsNull ( check_expression , replacement_expression )
check_expression: ¿ÉÒÔÊÇÈκÎÀàÐÍ,½«Òª¼ì²éµÄ±í´ïʽ  ²»Îª¿Õ£¬·µ»ØËü
replacement_expression: ÀàÐͱØÐëºÍcheck_expressionÏàͬ£¬check_expressionΪnull£¬·µ»ØËü
Õâ¸öº¯ÊýµÄ×÷ÓþÍÊÇ£ºÅжÏcheck_expressionÊÇ·ñΪ¿Õ£¬Îª¿Õ¾Í·µ» ......

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 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 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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ