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

Oracle/PLSQL: Lpad and Rpad Function

Oracle/PLSQL: Lpad Function£º
http://www.techonthenet.com/oracle/functions/lpad.php
RPAD and LPAD [Oracle SQL]£º
http://www.adp-gmbh.ch/ora/sql/rpad.html
ÒýÊö
In Oracle/PLSQL, the lpad function pads the left-side of a string with a specific set of characters.
The syntax for the lpad function is:
lpad( stringÒ», padded_length, [ pad_string ] )
stringÒ» is the string to pad characters to (the left-hand side).
padded_length is the number of characters to return. If the padded_length is smaller than the original string, the lpad function will truncate the string to the size of padded_length.
pad_string is optional. This is the string that will be padded to the left-hand side of string1. If this parameter is omitted, the lpad function will pad spaces to the left-side of string1.
Applies To:
Oracle °Ëi, Oracle ¾Åi, Oracle Ê®g, Oracle 11g
For example:
lpad('tech', Æß); would return ' tech'
lpad('tech', ¶þ); would return 'te'
lpad('tech', °Ë, 'Áã'); would return '0000tech'
lpad('tech on the net', 15, 'z'); would return 'tech on the net'
lpad('tech on the net', 16, 'z'); would return 'ztech on the net'
±¾ÎÄÀ´Ô´£º
ÎÒµÄÒì³£Íø
Java Exception
Dotnet Exception
Oracle Exception
2556 - sql¼ìË÷ÎÄÖÐ×Ö¶ÎÏàµÈÅжÏ
2557 - ORA-12535: TNS:operation timed out
2558 - oracleÔöÁ¿µ¼Èë¸üÐÂ
2559 - Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
2560 - the account is locked
2561 - ʹÓÃexp±¸·ÝÎļþÓõ±Ç°ÈÕÆÚ×öΪÎļþÃû
2562 - sqlplusÔõô¿´±íµÄ½¨Á¢Ê±¼ä
2563 - oracle²âÊÔ´æ´¢¹ý³ÌplsqlÎÞÏìÓ¦
2564 - ORA-01403: no data found
2565 - ORACLE´æ´¢¹ý³Ìд·¨
2566 - ÔõÑùÔÚ·þÎñÀïÌí¼Ó OracleOraHome92TNSListener
2567 - ÓαêǶÌ×ʹÓÃ
2568 - ORA-01031 instufficent privileges
2569 - SQLPLUSµ¼³öÊý¾Ý»»ÐÐ
2570 - ORA-12154: TNS: ÎÞ·¨½âÎöÖ¸¶¨µÄÁ¬½Ó±êʶ·û
2571 - oracleÀï¶ÔÓ¦mssqlÀïaddday()µÄº¯ÊýÊÇʲô
2572 - ÆóÒµ¹ÜÀíÆ÷ÉÏÊÇ·ñÄÜʵÏÖ±¸·Ý
2573 - ÈçºÎÔÚOracleÖн¨Á¢×÷Òµ
2574 - ÔõôʹÓÃǶÌ×±í
2575 - Ôõô¶¨ÒåǶÌ×±í


Ïà¹ØÎĵµ£º

¸ßÐÔÄÜ Oracle JDBC ±à³Ì

¸ßÐÔÄÜ Oracle JDBC ±à³Ì
Á˽âÈçºÎÀûÓÃÁ¬½ÓºÍÓï¾ä³ØÌØÐÔÀ´Ìá¸ß Oracle Çý¶¯µÄ JDBC ³ÌÐòµÄÐÔÄÜ¡£

×÷ÕߣºYuli Vasiliev
2009 Äê 4 Ô·¢²¼
ʹÓÃÖîÈçÁ¬½Ó³ØºÍÓï¾ä³ØµÈ³Ø¼¼Êõ¿ÉÒÔÏÔÖøÌá¸ßÊý¾Ý¿âÃܼ¯ÐÍÓ¦ÓóÌÐòµÄÐÔÄÜ£¬ÒòΪÕâÑù¿ÉÒÔʵÏÖ¶ÔÏóÖØÓ㬶øÎÞÐ軨·Ñʱ¼äºÍ×ÊÔ´ÖØÐ´´½¨¶ÔÏó¡£
Èç¹ûÓ¦ÓóÌÐòÓëÊý¾Ý¿âƵ·±½»»¥²¢Ç ......

¡¾×ª¡¿ÈçºÎ²é¿´oracle sqlÖ´Ðмƻ®

·½·¨Ò»
µÚÒ»²½£ºµÇÈësql/plus Ö´ÐÐÃüÁÎÞÏȺó˳Ðò£©
set   time   on; (˵Ã÷£º´ò¿ªÊ±¼äÏÔʾ£©  
  set   autotrace   on; (˵Ã÷£º´ò¿ª×Ô¶¯·ÖÎöͳ¼Æ£¬²¢ÏÔʾSQLÓï¾äµÄÔËÐнá¹û£©  
  set   autotrace   traceonly; (˵à ......

³¹µ×Ð¶ÔØORACLE(WINXP)

ÓÃoracleµÄÐ¶ÔØ³ÌÐò²¢²»ÄÜÍêÈ«Ð¶ÔØ¸É¾»¡£Èç֮ǰµÄÃüÃûµÄoracle sid ²»ÄÜÔÙʹÓ᣻áÌáʾsid´æÔÚ¡£ÏÂÃæÊÇÔÚwinxpÏÂÍêÈ«Ð¶ÔØoracleµÄ·½·¨¡£
1¡¢¿ªÊ¼£­£¾ÉèÖã­£¾¿ØÖÆÃæ°å£­£¾¹ÜÀí¹¤¾ß£­£¾·þÎñ  
     Í£Ö¹ËùÓÐOracle·þÎñ¡£  
2¡¢¿ªÊ¼£­£¾³ÌÐò£­£¾Oracle  -  OraHome81£­£¾Oracle   ......

¹ØÓÚOracle½ø³Ì½á¹¹¼°ºǫ́½ø³Ì¼ò½é


½ø³Ì½á¹¹
½ø³ÌÊDzÙ×÷ϵͳÖеÄÒ»ÖÖ»úÖÆ£¬Ëü¿ÉÖ´ÐÐһϵÁеIJÙ×÷²½¡£ÔÚÓÐЩ²Ù×÷ϵͳÖÐʹÓÃ×÷Òµ(JOB)»òÈÎÎñ(TASK)µÄÊõÓï¡£Ò»¸ö½ø³Ìͨ³£ÓÐËü×Ô¼ºµÄרÓÃ´æ´¢Çø¡£ORACLE½ø³ÌµÄÌåϵ½á¹¹Éè¼ÆÊ¹ÐÔÄÜ×î´ó¡£
ORACLEʵÀýÓÐÁ½ÖÖÀàÐÍ£ºµ¥½ø³ÌʵÀýºÍ¶à½ø³ÌʵÀý¡£
µ¥½ø³ÌORACLE£¨ÓֳƵ¥ÓÃORACLE£©ÊÇÒ»ÖÖÊý¾Ý¿âϵͳ£¬Ò»¸ö½ø³ÌÖ´ÐÐÈ«²¿ORA ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ