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

oracle´æȡСÓÚ1µÄСÊý£¬ÎªÊ²Ã´ÊÇûÓÐÁã

ÔÚ´æȡСÊý£¬ÀýÈç0.5µÄʱºò£¬ÎªÊ²Ã´´æÈ¡µ½Êý¾Ý¿âÖбä³É  .5  µÄÐÎʽ£¿
½â¾ö·½°¸ÒѾ­ÓÐÁË£¬ÎÒÖ÷Òª¹ØÐĵÄÊÇoracleΪʲô»áÕâô´æ´¢£¿

ÄãËù¿´µ½µÄÊÇ´æ´¢µÄÊý¾ÝµÄÏÔʾ·½Ê½£¬Ö»ÊÇÒ»¸ö±íÏ󣬲¢²»Ó°ÏìÊý¾ÝÔÚÊý¾Ý¿âÖеĴ洢
ÄãÊÇÓô洢¹ý³ÌoutputÊý¾Ý°É£¿ÓÃto_char¼´¿ÉÏÔʾΪÄãÏëÒªµÄ·½Ê½

²»ºÃÒâ˼£¬¸Õ²ÅÃèÊö´íÎó£¬ÊÇͨ¹ý³ÌÐò´ÓÊý¾Ý¿â¶ÁÈ¡ÕâÀàÊýÖµ»á³öÏÖÄÇÖÖÇé¿ö£¬ÇëÎÊÔÚÊý¾Ý¿âÖÐÒ²ÊÇ°´ÕÕÕâÖÖ.*¸ñʽ´æ´¢µÄô£¿

..Òª»Ø´ðµÄ»°Ö»ÄÜ˵£¬ÊÇÒÔ2½øÖÆ´¢´æµÄ
ÒÔnumberÀàÐÍ´¢´æµÄ
²»ÊÇÄãÃèÊö´íÎó£¬ÊÇÄãûÃ÷°×£¬ÊÇ0.5»¹ÊÇ.5Ö»ÊÇÏÔʾµÄÎÊÌ⣬²»ÊÇ´æ´¢µÄÎÊÌâ
Ò»°ãÔÚsqlplusºÍÆäËûµÚÈý·½¹¤¾ßÔËÐÐsqlÓï¾äʱ£¬Ä¬ÈÏÏÔʾµÄÊÇ0.5£¬´æ´¢¹ý³ÌµÄÊä³öÀÏÔʾ.5

˵µÄÌ«ºÃÁË

ÍêÈ«ÕýÈ·£¡

¶¥
ÒýÓÃ
..Òª»Ø´ðµÄ»°Ö»ÄÜ˵£¬ÊÇÒÔ2½øÖÆ´¢´æµÄ
ÒÔnumberÀàÐÍ´¢´æµÄ
²»ÊÇÄãÃèÊö´íÎó£¬ÊÇÄãûÃ÷°×£¬ÊÇ0.5»¹ÊÇ.5Ö»ÊÇÏÔʾµÄÎÊÌ⣬²»ÊÇ´æ´¢µÄÎÊÌâ
Ò»°ãÔÚsqlplusºÍÆäËûµÚÈý·½¹¤¾ßÔËÐÐsqlÓï¾äʱ£¬Ä¬ÈÏÏÔʾµÄÊÇ0.5£¬´æ´¢¹ý³ÌµÄÊä³öÀÏÔʾ.5


ÒýÓÃ
..Òª»Ø´ðµÄ»°Ö»ÄÜ˵£¬ÊÇÒÔ2½øÖÆ´¢´æµÄ
ÒÔnumberÀàÐÍ´¢´æµÄ
²»ÊÇÄãÃèÊö´íÎó£¬ÊÇÄãûÃ÷°×£¬ÊÇ0.5»¹ÊÇ.5Ö»ÊÇÏÔʾµÄÎÊÌ⣬²»ÊÇ´æ´¢µÄÎÊÌâ
Ò»°ãÔÚsqlplusºÍÆäËûµÚÈý·½¹¤¾ßÔËÐÐsqlÓï¾äʱ£¬Ä¬ÈÏÏÔʾµÄÊÇ0.5£¬´æ´¢¹ý³ÌµÄÊä³öÀÏÔʾ.5



ΪʲôÎÒµÄsqlplusÖÐÒ²ÏÔʾ.5£¬²»ÏÔʾ0.5  £¿£¿£¿

ÎÒÊÇÔÚPL/SQL DeveloperÖв鿴Êý¾Ý£¬ÏÔʾÊÇ0.5£¬Ö»ÊÇÓóÌÐò¶ÁÈ¡ÒÔºó£¬ÏÔʾµÄÊÇ.5

³ÌÐò¶ÁÈ¡µÄʱºò,ÔÚSQLÖÐÔö¼Ó,Èç:


Ïà¹ØÎÊ´ð£º

PHP Á¬½ÓOracle ³ö´í

<?php
  getenv("ORACLE_HOME");
  $conn=ocilogon("test","test","test_db");
  if($conn)  
  echo success;  
&nb ......

oracleÊý¾Ý¿âתmysql

oracleÌ«¹óÁË,Áìµ¼Èû»³Émysql
Ô­À´µÄoracleÊDz¼ÖÃÔÚlinux·þÎñÆ÷ÉÏ,¿Í»§¶ËÓÃBCB¿ª·¢µÄ,ÔÚwindowsÏÂÔËÐÐ,µ«ÔËÐеĻúÆ÷ÉϱØÐë×°Ò»¸öoracleµÄ¿Í»§¶Ë

¿´ÁËÏ´úÂë,³ÌÐòÊÇͨ¹ý²éÕÒoracle¿Í»§¶ËÔÚ×¢²á±íÖеÄÊý¾Ý» ......

vb Á¬½ÓORACLE ´òÓ¡

ÕâÊÇÎÒÔ­À´Á¬½ÓSQLµÄ´òÓ¡µÄ´úÂë
Connection1.Open "Provider=MSDataShape.1;Persist Security Info=True;Data Source=mm;User ID=sa;Password=sa;Initial Catalog=lc-liuh2;Data Provider=SQLOLEDB.1"Ê ......

ORACLE´Ó9201Éý¼¶µ½9208ÎÊÌâ

ORACLE´Ó9201Éý¼¶µ½9208Ö®ºó
»·¾³±äÁ¿ÖÐORACLE_HOMEûÓÐÉèÖà ÊÖ¹¤Ìí¼Óºó
ϵͳ·þÎñÀïËùÓÐORACLE·þÎñ¶¼Æð²»À´
ÃüÁîÐÐÀïÊäÈë EXP»òÕßLSNRCTL±¨ÌáʾÎÞ·¨¶¨Î»³ÌÐòÊäÈëµã lxhlcmod ÓÚ¶¯Ì¬Á´½Ó¿â oranls9.dllÉÏ
......

ÇóÖúORACLEÅúÁ¿Çå³ý±íÊý¾ÝµÄÎÊÌâ - Oracle / ¿ª·¢

±ÈÈçÎÒÓÐtestA¡¢testB¡¢testCÈý¸ö±í
ÎÒÏÖÔÚÐèҪдһ¸öÅú´¦Àí»òÕ߽ű¾¸ø±ðÈË ×÷ÓþÍÊÇÖ´ÐÐÕâ¶ÎÓï¾ä¿ÉÒÔÇå³ýÕâÈý¸ö±íÀïÃæµÄÊý¾Ý ¾ÍÊÇÒ»¸ö³õʼ»¯µÄÒâ˼
ÄÄλ¸ßÈË°ïÖúÏ°¡ Ò»¸öÊý¾Ý¿âС°×ÔÚ´ËÇó¾ÈÀ²
SQL code:
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ