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

OracleϵÄÖÐÎÄÅÅÐò


alter session set nls_sort='schinese_pinyin_m';
select * from dept order by
nlssort(name,'NLS_SORT=SCHINESE_PINYIN_M');
Oracle9i֮ǰ£¬ÖÐÎÄÊÇ°´ÕÕ¶þ½øÖƱàÂë½øÐÐÅÅÐòµÄ¡£
ÔÚoracle9iÖÐÐÂÔöÁË°´ÕÕÆ´Òô¡¢²¿Êס¢±Ê»­
ÅÅÐò¹¦ÄÜ¡£ÉèÖÃNLS_SORTÖµ
SCHINESE_RADICAL_M °´ÕÕ²¿Ê×£¨µÚһ˳Ðò£©¡¢±Ê»®£¨µÚ¶þ˳Ðò£©ÅÅÐò
SCHINESE_STROKE_M
°´Õձʻ®£¨µÚһ˳Ðò£©¡¢²¿Ê×£¨µÚ¶þ˳Ðò£©ÅÅÐò
SCHINESE_PINYIN_M °´ÕÕÆ´ÒôÅÅÐò£¬ÏµÍ³µÄĬÈÏÅÅÐò·½Ê½ÎªÆ´ÒôÅÅÐò
¾Ù
ÀýÈçÏ£º
±íÃûΪ dept £¬ÆäÖÐname×Ö¶ÎÊÇÖÐÎÄ£¬ÏÂÃæ·Ö±ðʵÏÖ°´ÕÕµ¥Î»Ãû³ÆµÄ±Ê»®¡¢²¿Ê׺ÍÆ´ÒôÅÅÐò¡£
1: //°´Õձʻ®ÅÅÐò
2:
select * from dept order by
nlssort(name,'NLS_SORT=SCHINESE_STROKE_M');
3: //°´ÕÕ²¿Ê×ÅÅÐò
4: select
* from dept order by nlssort(name,'NLS_SORT=SCHINESE_RADICAL_M');
5:
//°´ÕÕÆ´ÒôÅÅÐò£¬´ËΪϵͳµÄĬÈÏÅÅÐò·½Ê½
6: select * from dept order by
nlssort(name,'NLS_SORT=SCHINESE_PINYIN_M');
×¢Ò⣬¸Ã
SQLÖ¸Áî²¢·Ç±ê×¼Ö¸ÁÔÚSQLServerÏÂÃæµÄʵÏÖ·½Ê½²¢²»Ïàͬ¡£
ת×Ô£ºhttp://blog.chinaunix.net/u/28618/showart_464260.html


Ïà¹ØÎĵµ£º

oracle raw device create tablespace

  
[root@vmfs sysconfig]# lvdisplay |grep db_d
  LV Name                /dev/db_v4/db_d_22
  LV Name                /dev/db_v4 ......

OracleÓû§¹ÜÀí

--´´½¨±í¿Õ¼ä
create tablespace Ãû³Æ
(
datafile='·¾¶\Ãû³Æ.ora',
size='50M',
autoextend='on'
)
/
--´´½¨ÁÙʱ±í¿Õ¼ä
create temporary tablespace Ãû³Æ
(
tempfile='·¾¶\Ãû³Æ.ora',
size='50M',
autoextend='on'
)
/
--´´½¨Óû§
create user Óû§Ãû  idtenified  by ÃÜÂë
/
--ΪÓû§Ö¸¶¨ ......

Oracle 10g upgrade from 10.2.0.1 to 10.2.0.4


 
   а²×°ÁËһ̨Êý¾Ý¿â·þÎñÆ÷£¬°æ±¾ÊÇ10.2.0.1µÄ£¬ÒòΪÏÖÔÚ×îеÄÊÇ10.2.0.4µÄ¡£ °æ±¾µÍÁË£¬bug¶à¡£ËùÒԾͶÔÊý¾Ý¿â×öÁËÒ»¸öÉý¼¶¡£
   ·þÎñÆ÷ÊÇwindows 2003µÄϵͳ£¬¶¼ÊÇ¿ÉÊÓ»°²Ù×÷¡£ ÏÂÒ»²½µÄÎÊÌâ¡£ 10.2.0.4µÄpatchset ÀïÃæÒ²ÓÐÏêϸµÄ°²×°ËµÃ÷¡£ Ö®×ö¸ö×ܽá ......

OracleÎÂÏ°ÓëÈëÃÅ

SQL Server¿ª·¢ÕßOracle¿ìËÙÈëÃÅ http://kb.cnblogs.com/a/853694 ¼òµ¥¸ÅÄîµÄ½éÉÜ 1. Á¬½ÓÊý¾Ý¿â
S:    use mydatabase
O:    connect username/password@DBAlias
       conn username/password@DBAlias 2. ÔÚOracleÖÐʹÓÃDual, DualÊÇO ......

OracleÊý¾Ý¿âimpºÍexpµÄʹÓá¾×ª¡¿


1.µ¼ÈëÊý¾ÝÃüÁimp userid=fkprod/fkprod full=y file=xxx.dmp
2.µ¼³öÊý¾Ý¿â¶ÔÏóÃüÁ
ʹÓÃtools--->export user objectÖ»Äܵ¼³öÊý¾Ý±í½Å±¾²»ÄÜ´ø³öÊý¾Ý,
»òÕßʹÓÃexp user/pwd file=/dir/xxx.dmp log=xxx.log full=y commit=y ignore=y
×¢Ò⣺Èç¹ûÄãÒªÔ¶³ÌµÇ¼µ½Êý¾Ý¿â·þÎñÆ÷µ¼³ö£¬¿ÉÒÔÔÚ±¾µØSQLPLUS×öÈçÏÂÃüÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ