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

Oracle¹ÜÀíÓëά»¤.Êý¾Ý¿âµÇ¼µÄÉíÖ¤ÑéÖ¤

Oracle¹ÜÀíÓëά»¤.Êý¾Ý¿âµÇ¼µÄÉíÖ¤ÑéÖ¤
²Ýľ¹Ï
20080505
Ò»¡¢Ð´ÔÚÇ°Ãæ
 Ôø¾­²¢²»ÖªµÀconn / as sysdbaΪºÎÎÔÚunixϸãÁË°ëÌì·½Öª£¬»¹ÐèÒª¼ÓÉÏ"ºÅ£¬Oracle 10gÀï
ÖÕÓÚÒ²¿¼Âǵ½ÁËÕâ¸öÎÊÌ⣬²»ÔÙÊܵ½" as sysdba "µÄÏÞÖÆ¡£
 ÈçÏÂËùʾ£º
 
 [oracle@liwei admin]$ sqlplus / as sysdba
 
 SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 1 15:55:18 2008
 
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 
 Connected to an idle instance.
 
 SQL> quit
 Disconnected
 [oracle@liwei admin]$ sqlplus "/ as sysdba"
 
 SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 1 15:55:24 2008
 
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 
 Connected to an idle instance.
 
 SQL> quit
 Disconnected
 
¶þ¡¢OracleµÇ¼ÈÏÖ¤·½Ê½
 ¡¶Oracle¹ÜÀíÓëά»¤.ÊÖ¹¤´´½¨Êý¾Ý¿âÒÔ¼°½Å±¾¡·Ò»ÎÄÖÐÌáµ½ÈçÏÂÒ»¸ö´íÎó£º
 
 [oracle@liwei oracle]$ sqlplus "/ as sysdba"
 
 SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 1 14:51:59 2008
 
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 
 ERROR:
 ORA-01031: insufficient privileges
 
 Õâ¸ö±ãÊǵǼÈÏÖ¤·½Ê½µÄÎÊÌâÁË¡£
 
 OracleµÇ¼ÈÏÖ¤ÓÐÁ½ÖÖ·½Ê½£º»ùÓÚ²Ù×÷ϵͳµÄµÇ¼ÈÏÖ¤ºÍ»ùÓÚOracleÃÜÂëÎļþµÄµÇ¼ÈÏÖ¤¡£
¾ßÌ巽ʽ¼Ç¼ÔÚ·þÎñ¶Ë$ORACLE_HOME/network/admin/sqlnet.oraÎļþÖУ¬²»¹ýWindowsÓë
Unix/Linux¾ßÌåÉèÖÃÊDz»Í¬µÄ¡£
 <Windows>
 
 sqlnet.oraÎļþΪ¿Õʱ²ÉÓÃOracleÃÜÂëÎļþÑéÖ¤
 
 SQLNET.AUTHENTICATION_SERVICES= (NTS)     »ùÓÚ²Ù×÷ϵͳÑéÖ¤£»
 SQLNET.AUTHENTICATION_SERVICES= (NONE)  »ùÓÚOracleÃÜÂëÎļþÑéÖ¤
 SQLNET.AUTHENTICATION_SERVICES= (NONE,NTS)  ¶þÕß²¢´æ£¬×¢ÒâÊÇ°ë½Ç£¬·ñÔò²»Ê¶±ð
    sqlnet.oraʾÀýÒ»£º
   
  # This file is actually generated by netca. But if customers choose to
  # install "Sof


Ïà¹ØÎĵµ£º

Oracle±í¿Õ¼ä¹ÜÀí

extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î»      --segment    management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......

Oracle ÈÕÆÚº¯Êýto_char

Select to_char(sysdate,'ss') from dual;--È¡µ±Ç°Ê±¼äÃ벿·Ö
Select to_char(sysdate,'mi') from dual;--È¡µ±Ç°Ê±¼ä·ÖÖÓ²¿·Ö
Select to_char(sysdate,'HH24') from dual;--È¡µ±Ç°Ê±¼äÃëСʱ²¿·Ö
Select to_char(sysdate,'DD') from dual;--È¡µ±Ç°Ê±¼äÈÕÆÚ²¿·Ö
Select to_char(sysdate,'MM') from dual;--È¡µ±Ç°Ê±¼ ......

Oracle Ê÷µÄÓ¦ÓÃ

ÎÊÌâÌá³ö£º
Ò»¸ö¸ß¼¶SQLÓï¾äÎÊÌâ
¼ÙÉèÓÐÒ»ÕÅ±í£¬ÓÐÕâÑùһЩÊý¾Ý
a b
1 2
0 2
2 3
3 4

5 6
6 7
12 7

aÊÇ×Ó½Úµã bÊǸ¸½Úµã ,Èç¹ûbΪnull ÔòΪһ¿ÃÊ÷µÄ¸ù½Úµã
¸ù¾ÝAÓëBµÄÕâ¸ö¹Øϵ ÕÒ³öÒ»¿ÃÊ÷µÄ½á¹¹ÏÔʾ³öÀ´ £¬²¢ÏÔʾ³öÿ¸ö½ÚµãÔÚÊéÖеIJ㼶£¬½«Ê÷µÄ½á¹¹´ò ......

MOSS2007µÄBDCÁ¬½ÓORACLEÊý¾Ý¿â

×÷ΪÊý¾Ý¼¯³ÉµÄMOSS×é¼þBDC£¬ÔÚMOSS2007°æ±¾Öл¹Óкܶ಻³ÉÊìµÄµØ·½£¬ËäÈ»¿ÉÒÔ´æÈ¡ÆäËûÊý¾Ý¿âÖеÄÊý¾Ý£¬µ«ÅäÖÃȷʵºÜ¸´ÔÓ£¬È±Ê¡µÄ¹¤¾ßÒ²ºÜÈõ£¬ÕâÊÇÔÚÒ»¸öÏîÄ¿ÖÐÓõ½µÄÁ¬½ÓORACLEÊý¾Ý¿âÅäÖÃÎļþ£¬¼Í¼ÔÚ´ÎÒÔ±ãºóÓá£
<?xml version="1.0"?>
<LobSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xm ......

¹ØÓÚoracleµÄһЩÔÓÆßÔӰ˵IJÙ×÷

1¡¢¸ü¸Ä±íÃû/ÁÐÃû
Ê×ÏÈ£¬ÒªÒÔsysdbaÉí·ÝµÇ¼£¬²ÅÄܶԱíÃû/ÁÐÃû½øÐиü¸Ä£º
(1)µÇ½sqlplus£¬¿ÉÒÔÒÔnolog·½Ê½µÇ½£¬¹ØÓÚÕâÖֵǽ·½·¨£¬¿ÉÔÚsqlplusµÄͼ±êÉÏÓÒ¼ü£¬µã»÷ÊôÐÔ£¬ÔÚ"Ä¿±ê"À¸¸ÄΪ£º"D:\oracle\product\10.2.0\client_1\BIN\sqlplusw.exe /nolog"£¬È»ºóÔÙË«»÷sqlplusͼ±ê¾Í¿É½øÈë¡£
ÓÐʱoracle²¢²»ÔÚ±¾µØµçÄÔÉÏ£¬µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ