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

oracleÖÐnvarchar2×Ö·û¼¯²»Æ¥Åä

oracleµ±¶à±íunionʱÓöµ½nvarchar2ÀàÐÍʱ±¨´í ×Ö·û¼¯²»Æ¥Åä
¶ÔʹÓÃnvarcharµÄµØ·½£¬¼ÓÉÏ to_char( nvarchar µÄ±äÁ¿»ò×ֶΠ)
È磺
select to_char(name),price from aa
union all
select  to_char(name),price from bb
3Õűíaa,bb,cc¶¼ÓÐ name price ×ֶΠ²éѯ¼Û¸ñ×î¸ßµÄÇ°3λÐÕÃû
select * from(select to_char(name),price from aa
union all
select  to_char(name),price from bb
union all
select to_char(name),price from cc  order by price desc)where rownum<=3
¡¾×¢Òâ¡¿
VARCHAR2ÊÇOracleÌṩµÄÌض¨Êý¾ÝÀàÐÍ£¬Oracle¿ÉÒÔ±£Ö¤VARCHAR2ÔÚÈκΰ汾ÖиÃÊý¾ÝÀàÐͶ¼¿ÉÒÔÏòÉϺÍÏòϼæÈÝ¡£
VARCHARÔÚOracleÖв»½¨ÒéʹÓá£
¾ßÌåµ½NVARCHAR2ºÍVARCHAR2µÄÇø±ð£¬´ÓʹÓýǶÈÀ´¿´Çø±ðÔÚÓÚ£ºNVARCHAR2ÔÚ¼ÆË㳤¶ÈʱºÍ×Ö·û¼¯Ïà¹ØµÄ£¬ÀýÈçÊý¾Ý¿âÊÇÖÐÎÄ×Ö·û¼¯Ê±ÒÔ³¤¶È10ΪÀý£¬Ôò
1¡¢NVARCHAR2(10)ÊÇ¿ÉÒÔ´æ½øÈ¥10¸öºº×ֵģ¬Èç¹ûÓÃÀ´´æÓ¢ÎÄÒ²Ö»ÄÜ´æ10¸ö×Ö·û¡£
2¡¢¶øVARCHAR2(10)µÄ»°£¬ÔòÖ»ÄÜ´æ½ø5¸öºº×Ö£¬Ó¢ÎÄÔò¿ÉÒÔ´æ10¸ö¡£ 
asp.net,WWW.FENGFLY.com
Óê·ã ¼¼ Êõ½Ì³ÌÍø asp.net,WWW.FENGFLY.comasp.net,WWW.FENGFLY.com ...
Ô­ÎÄÀ´×Ô£ºÓê·ã¼¼Êõ½Ì³ÌÍø http://www.fengfly.com
Ô­ÎÄÍøÖ·£ºhttp://www.fengfly.com/plus/view-168612-1.html


Ïà¹ØÎĵµ£º

Oracle±¾µØ¿Í»§¶ËÔ¶³ÌÁ¬½Ó·þÎñÆ÷

µ½Oralce·¾¶ÏÂ
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
ZHG =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = leehong)(PORT = 1521))
    )
    (CONNECT_DATA =
    & ......

WIN7ÏÂÔõÑù×°Oracle 10g

      
WIN7µÄϵͳ½çÃæºÜƯÁÁ£¬Ê¹ÓÃÆðÀ´È·ÊµºÜ²»´í£¬¿ÉÊÇÈ´Ò²¸øÎÒµÄѧϰ´øÀ´¹ý²»ÉÙÂé·³¡£ÓÈÆäÊÇÕâ´Î×°Oracle£¬±ðÈËÓõÄÊÇXPµÄϵͳºÜÈÝÒ×¾Í×°ÉÏÁ˵ģ¬¿ÉÊÇÎÒÈ´ÔõôҲװ²»ÉÏ¡£ÎªÁËÈÃͬÑùϲ°®WIN7µÄÅóÓÑÉÙ×ßЩÍä·£¬ÏÂÃæ¾Í½éÉÜÒ»ÏÂÔÚwin7ÉÏ°²×°Oracle10gµÄ·½·¨°É£¬ÄÇ¿ÉÊDZ¾ÈËÓÃÁË8Ììʱ¼ä£¬²»Í ......

OracleµÄжÔØ·½·¨

   ֮ǰ¸ø´ó¼Ò½éÉÜÁËÔÚWIN7ÉÏOracle 10gµÄ°²×°·½·¨£¬½ÓÏÂÀ´¾Í¸Ã¸ø´ó¼Ò½éÉÜËüµÄжÔØ·½·¨ÁË¡£ºÜ¶àÈ˲»¸Ò°²×°Oracle¾ÍÊǵ£ÐÄ°²×°ºó»áжÔز»¸É¾»£¬Æäʵµ±³õÎÒÒ²ÓйýÕâ¸ö¹ËÂÇ£¬ºÇºÇ¡£µ«ºóÀ´·¢ÏÖ£¬ÆäʵжÔØÊǺÜÈÝÒ×µÄÊ¡£¾Í¼¸²½¶øÒÑ£¬²»ÐžÍÇë¿´£º
 
¿ÉÒÔʹÓòúÆ·×Ô´øµÄжÔع¤¾ßȥжÔØ¡£
1£®    ......

linux»·¾³Ï°²×°oracle 11g database·½·¨Ö¸µ¼(¶þ)

±¸×¢£º
    ±¾²©ÄÚÈÝÊdzнÓÉÏÆÚÄÚÈݵÄÑÓÐø£¬ÓÉÓÚÄÚÈݹý³¤£¬Òò´Ë²ÉÓ÷ֶÎ˵Ã÷£¬ÒÔÃâ´ó¼Ò¿´ÆðÀ´Æ£¾ë£¬ÈôÁ˽â¸ü¶àÏêϸµÄ°²×°Á÷³Ì£¬Çë¼ÌÐø¹Ø×¢±¾²©¡£²ÎÕÕÔ­°æ°²×°ÊÖ²á¶ÔÕÕ°²×°¡£
4£®Configure Oracle Installation Owner Shell Limits
<1>ÅäÖÃlimits.confÎļþ£¬ºìÉ«±êעΪÔö¼ÓµÄÅäÖÃÄÚÈÝ¡£
[root@myli ......

Oracle Sql ÐÔÄÜÓÅ»¯

1£©²»Öª´ó¼ÒÊÇ·ñϲ»¶Ê¹ÓÑNOT IN’ÕâÑùµÄ²Ù×÷£¬Èç¹ûÊÇ£¬ÄǾ¡Á¿Ê¹ÓÃ(NOT) EXISTS Ìæ´ú
2£©ÔÚº£Á¿²éѯʱ¾¡Á¿ÉÙÓøñʽת»»¡£
3£©²éѯº£Á¿Êý¾ÝÊÇ£¬¿ÉÒÔʹÓÃoptimizer['ɔptimaizə] hints£¬ÀýÈç/*+ORDERED */
¾¡Á¿ÉÙÓÃIN²Ù×÷·û£¬»ù±¾ÉÏËùÓеÄIN²Ù×÷·û¶¼¿ÉÒÔÓÃEXISTS´úÌæ¡£
²»ÓÃNOT IN²Ù×÷·û£¬¿ÉÒÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ