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

Oracle 10gÊý¾Ý¿â¹Ø±ÕºóÎÞ·¨Æô¶¯£¬ORA

  ½üÈÕÔÚѧϰOracle 10GµÄ¹ý³ÌÖÐÓöµ½Ò»¸öÎÊÌ⣬¹Ø±ÕÊý¾Ý¿â£¨shutdown immediate£©ºó£¬ÔÙÖØÆôÊý¾Ý¿â(startup)£¬Æô¶¯Ê§°Ü£¬12514µÄ´íÎó£¬Èç¹ûͨ¹ýsqlplus /nolog½øÈëÊý¾Ý¿âÒÔºó£¬ÓÃconnÁ¬½Ó£¬Ò»Ñù²»ÐС£ÖØдò¿ªÒ»¸öcmd´°¿Ú£¬ÊäÈ룺
sqlplus
Óû§Ãû£ºsys@sim as sysdba£¬ÃÜÂëÊäÈëÍê³Éºó£¬ÈÔÈ»³öÏÖÈçÏ´íÎó£º
ORA-12514: TNS: ¼àÌý³ÌÐòµ±Ç°ÎÞ·¨Ê¶±ðÁ¬½ÓÃèÊö·ûÖÐÇëÇóµÄ·þÎñ
ͨ¹ýÖØÆô·þÎñµÄ·½Ê½Æô¶¯Êý¾Ý¿â£¬ÔÙ´ÎÁ¬½ÓÈ´Äܳɹ¦µÇ¼£¬Ò²¾ÍÊÇ˵ÔڹرÕÊý¾Ý¿â״̬ÏÂÎÞ·¨Á¬½Ó·þÎñÆ÷¡£
´ÓÍøÉÏÕÒµ½µÄ×ÊÁϵÃÖª£º
Oracle9iÒԺ󣬺ǫ́½ø³ÌPMON×Ô¶¯ÔÚ¼àÌýÆ÷ÖÐ×¢²áÔÚϵͳ²ÎÊýSERVICE_NAMESÖж¨ÒåµÄ·þÎñÃû£¬SERVICE_NAMESĬÈÏΪDB_NAME+DOMAIN_NAME¡£¼àÌýÅäÖÃÎļþlistener.oraÖпÉÒÔ²»±ØÖ¸¶¨¼àÌýµÄ·þÎñÃû¡£µ«ÊÇ£¬µ±Êý¾Ý¿â´¦ÓڹرÕ״̬ÏÂPMON½ø³ÌûÓÐÆô¶¯£¬Ò²¾Í²»»á×Ô¶¯×¢²á¼àÌýµÄʵÀýÃû£¬ËùÒÔʹÓÃsqlplus sys/his@orc0 as sysdba »á³öÏÖORA-12514´íÎó¡£
Èç¹ûÔÚlistener.oraÎļþÖÐÖ¸¶¨¼àÌýµÄʵÀýÃû£¬Ôò¼´Ê¹Êý¾Ý¿â´¦ÓڹرÕ״̬£¬ÈÔÈ»¿ÉÒÔÁ¬½Ó¡£
listener.ora
    SID_LIST_LISTENER =
        (SID_LIST =
                (SID_DESC =
                        (SID_NAME = PLSExtProc)
                        (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
                        (PROGRAM = extproc)
                )
                (SID_DESC =
                        (GLOBAL_DBNAME = SIM)
        &nbs


Ïà¹ØÎĵµ£º

ORACLE²åÈëÈÕÆÚÊý¾Ý

 oracleÊý¾Ý¿â²åÈëÈÕÆÚÐÍÊý¾Ý
ÍùOracleÊý¾Ý¿âÖвåÈëÈÕÆÚÐÍÊý¾Ý£¨to_dateµÄÓ÷¨£©
INSERT  INTO  FLOOR  VALUES  ( to_date ( '2007-12-20 18:31:34' , 'YYYY-MM-DD HH24:MI:SS' ) ) ;
²éѯÏÔʾ£º2007-12-20 18:31:34.0
-------------------
INSERT  INTO  FLOOR  VALUES ......

oracle cursor_sharing²ÎÊý

ÏÈÀ´¿´¿´¹Ù·½ÎĵµÖжÔÕâ¸ö²ÎÊýµÄ½âÊÍ
CURSOR_SHARING
PropertyDescription
Parameter type
String
Syntax
CURSOR_SHARING = { SIMILAR | EXACT | FORCE }
Default value
EXACT
Modifiable
ALTER SESSION, ALTER SYSTEM
Basic
No
CURSOR_SHARING determines what kind of SQL statements can share the same cu ......

OracleÊý¾Ý¿â×Ô¶¨ÒåÒì³£µÄʹÓ÷½·¨

 À´Ô´£º²»Ïê  ×÷ÕߣºØýÃû  Ê±¼ä£º2009-9-6 17:14:04 Tags£º Orac ʹÓ÷½·¨
ÐèÇó£ºÒµÎñÂß¼­ÔÚ´¦ÀíÊý¾Ýʱ£¬ÐèÒª·µ»ØMessage²¢×èÖ¹³ÌÐòµÄ¼ÌÐøÔËÐС£µ«ÊÇ£¬ÔÚ´æ´¢¹ý³ÌʹÓÃOracleÊý¾Ý¿âµÄRaise¸ù±¾ÎÞ·¨Âú×ãÏÖÔÚµÄÒªÇó¡£
½â¾ö·½·¨£º
ʹÓÃRAISE_APPLICATION_ERROR
RAISE_APPLICATION_ERROR ( erro ......

ѧϰoracle sql loader µÄʹÓÃ

Ò»£ºsql loader µÄÌصã
oracle×Ô¼º´øÁ˺ܶàµÄ¹¤¾ß¿ÉÒÔÓÃÀ´½øÐÐÊý¾ÝµÄǨÒÆ¡¢±¸·ÝºÍ»Ö¸´µÈ¹¤×÷¡£µ«ÊÇÿ¸ö¹¤¾ß¶¼ÓÐ×Ô¼ºµÄÌص㡣
 ±ÈÈç˵expºÍimp¿ÉÒÔ¶ÔÊý¾Ý¿âÖеÄÊý¾Ý½øÐе¼³öºÍµ¼³öµÄ¹¤×÷£¬ÊÇÒ»ÖֺܺõÄÊý¾Ý¿â±¸·ÝºÍ»Ö¸´µÄ¹¤¾ß£¬Òò´ËÖ÷ÒªÓÃÔÚÊý¾Ý¿âµÄÈȱ¸·ÝºÍ»Ö¸´·½Ãæ¡£ÓÐ×ÅËٶȿ죬ʹÓüòµ¥£¬¿ì½ÝµÄÓŵ㣻ͬʱҲÓÐһР......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ