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

Íü¼ÇoracleÊý¾Ý¿âÃÜÂëÔõô°ì

ºÜ¾Ã²»ÓõÄoralceÊý¾Ý¿â£¬Èç¹ûÍü¼ÇÁËÃÜÂ룬¿ÉÒÔÕâÑù½â¾ö£º
Èç¹ûûÓÐÉèÖû·¾³±äÁ¿£¬ ȥĿ¼C:\oracle\product\10.2.0\db_1\BIN Ö´ÐÐÒÔÏÂÃüÁ
C:\oracle\product\10.2.0\db_1\BIN>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 22 16:00:18
2010 Copyright (c) 1982, 2005, Oracle. All rights reserved.
ÒÔsysÓû§µÇ½Êý¾Ý¿âʵÀýorcl(SID)
SQL> conn sys/orcl as sysdba
Connected.
½«Óû§scott(ÒѽâËø)µÄÃÜÂë¸ÄΪ'scott’
SQL> alter user scott identified by scott;
User altered.
¸½£ºÈç¹ûÎÒÃÇÔÚ°²×°Oracleʱ£¬Èç¹ûûÓÐΪÏÂÁÐOracleÓû§ÖØÉèÃÜÂ룬ÔòÆäµÄOracleĬÈÏÓû§ÃûÃÜÂëÈçÏ£º
Óû§Ãû / ÃÜÂë 
 µÇ¼Éí·Ý              
                 ËµÃ÷
sys/change_on_install
SYSDBA »ò SYSOPER
²»ÄÜÒÔ NORMAL µÇ¼£¬¿É×÷ΪĬÈϵÄϵͳ¹ÜÀíÔ±
system/manager
SYSDBA »ò NORMAL
²»ÄÜÒÔ SYSOPER µÇ¼£¬¿É×÷ΪĬÈϵÄϵͳ¹ÜÀíÔ±
sysman/oem_temp
 
 sysman Ϊ oms µÄÓû§Ãû
scott/tiger
NORMAL
ÆÕͨÓû§
aqadm /aqadm
SYSDBA »ò NORMAL
¸ß¼¶¶ÓÁйÜÀíÔ±
Dbsnmp/dbsnmp
SYSDBA »ò NORMAL
¸´ÖƹÜÀíÔ±sysman Ϊ oms µÄÓû§Ãû
scott/tiger
NORMAL
ÆÕͨÓû§
aqadm /aqadm
SYSDBA »ò NORMAL
¸ß¼¶¶ÓÁйÜÀíÔ±
Dbsnmp/dbsnmp
SYSDBA »ò NORMAL
¸´ÖƹÜÀíÔ±
ÐèҪעÒâµÄÊÇ£¬OracleĬÈÏÓû§ÃûsysmanµÄµÇ¼ʲôΪ¿Õ£¬sysman×÷ΪϵͳµÄomsÓû§Ãû¡£


Ïà¹ØÎĵµ£º

oracleѧϰ±Ê¼Ç(¶þ)·ÖÏíÖ®´æ´¢¹ý³ÌǶÌ×ÓαêÀý×Ó

create or replace procedure aa1 is
v_aa varchar2(20);
v_bb varchar2(20);
va_aa varchar2(20);
va_bb varchar2(20);
va_number_aa number;
message varchar2(60);
CURSOR aas is
SELECT DISTINCT aa.aa, aa.bb from aa;
CURSOR aaas is
SELECT DISTINCT aaa.aa, aaa.bb from aaa where aaa.aa = v_aa ......

¹ØÓÚORACLE Éó¼ÆµÄһЩÊÓͼºÍ½Å±¾

Éó¼ÆÊÓͼ
STMT_AUDIT_OPTION_MAP    -- Éó¼ÆÑ¡ÏîÀàÐÍ´úÂë
AUDIT_ACTIONS    -- action´úÂë
ALL_DEF_AUDIT_OPTS    -- ¶ÔÏó´´½¨Ê±Ä¬ÈϵĶÔÏóÉó¼ÆÑ¡Ïî
DBA_STMT_AUDIT_OPTS    -- µ±Ç°Êý¾Ý¿âϵͳÉó¼ÆÑ¡Ïî
DBA_PRIV_AUDIT_OPTS    -- ȨÏÞÉó ......

ORACLE¶àÓû§Ö®¼ä¹²Ïí´æ´¢¹ý³Ì

ÔÚÊý¾Ý¿âÖУ¬ÓÐÁ½¸öÓû§usera£¬userb£¬Èç¹ûÔÚbÖÐÓиö´æ´¢¹ý³Ì£¬ÐèÒªÓÃaµÄÓû§È¥µ÷Ó㬣¨±ÈÈçbÊÇȨÏ޺ܸߵÄÓû§£¬¶øaÖ»ÊÇÆÕͨÓû§£¬ÎªÁËÆÁ±Î¸øa×îСµÄȨÏÞÖ»ÄÜÈç´Ë£©¡£ÓÚÊÇ£¬ÎÒ¾ÍÓÃgrant execute on ´æ´¢¹ý³ÌÃû to usera¡£ÕâÑù£¬ÔÚaµÄÓû§ÏÂÃæ¾ÍÄÜ¿´µ½´æ´¢¹ý³ÌÁË£¬µ«ÊÇÎÒÖ´ÐÐÒԺ󣬻¹ÊDZ¨ora-1031£¬ËµÊÇûÓÐȨÏÞ£¬¾­¹ýÓ ......

³öÏÖOracle ORA 24343µÄÒ»ÖÖÇé¿ö

    ¶ÔÓÚOracle ORA-24343ÕâÖÖ´íÎó£¬OracleµÄ¹Ù·½½âÊÍÊÇ£º
Error Message: ORA-24343 user defined callback error
Error Cause:
The only valid return value for a user defined callback function is OCI_ CONTINUE. Any other value will cause this error.
Action:
Make sure that OCI_CONTINUE i ......

Oracle¿Í»§¶ËNLS_LANGÉèÖÃ


1. NLS_LANG
²ÎÊý×é³É
NLS_LANG
²ÎÊýÓÉÒÔϲ¿·Ö×é³É:
NLS_LANG
=<Language>_<Territory>.<Clients
Characterset>
NLS_LANG
¸÷²¿·Öº¬ÒåÈçÏÂ:
LANGUAGEÖ¸¶¨:
-OracleÏûϢʹÓõÄÓïÑÔ
-ÈÕÆÚÖÐÔ·ݺÍÈÕÏÔʾ
TERRITORYÖ¸¶¨
-»õ±ÒºÍÊý×Ö¸ñʽ
-µØÇøºÍ¼ÆËãÐÇÆÚ¼°ÈÕÆÚµÄÏ°¹ß
CHARACTERSET:
-¿Ø ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ