oracleº¯Êý´óÈ« Êý×Ö´¦Àíº¯Êý
oracleº¯Êý´óÈ«-Êý×Ö´¦Àíº¯Êý
F.3 Êý×Öº¯Êý
º¯Êý½ÓÊÜNUMBERÀàÐ͵IJÎÊý²¢·µ»ØNUMBERÀàÐ͵ÄÊýÖµ.³¬Ô½º¯ÊýºÍÈý½Çº¯ÊýµÄ·µ»ØÖµ¾«È·µ½36λ.ACOS¡¢ASIN¡¢ATAN¡¢ATAN2µÄ½á¹û¾«È·µ½36λ.
l ABS
Óï·¨: ABS(x)
¹¦ÄÜ: µÃµ½xµÄ¾ø¶ÔÖµ.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l ACOS
Óï·¨: ACOS(x)
¹¦ÄÜ: ·µ»ØxµÄ·´ÓàÏÒÖµ. xÓ¦¸Ã´Ó0µ½1Ö®¼äµÄÊý,½á¹ûÔÚ0µ½piÖ®¼ä,ÒÔ»¡¶ÈΪµ¥Î».
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l ASIN
Óï·¨: ASIN(x)
¹¦ÄÜ: ¼ÆËãxµÄ·´ÕýÏÒÖµ. XµÄ·¶Î§Ó¦¸ÃÊÇ£1µ½1Ö®¼ä,·µ»ØµÄ½á¹ûÔÚ£pi/2µ½pi/2Ö®¼ä,ÒÔ»¡¶ÈΪµ¥Î».
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l ATAN
Óï·¨: ATAN(x)
¹¦ÄÜ: ¼ÆËãxµÄ·´ÕýÇÐÖµ.·µ»ØÖµÔÚ£pi/2µ½pi/2Ö®¼ä,µ¥Î»ÊÇ»¡¶È.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l ATAN2
Óï·¨: ATAN2(x,y)
¹¦ÄÜ: ¼ÆËãxºÍyµÄ·´ÕýÇÐÖµ.½á¹ûÔÚ¸ºµÄpi/2µ½ÕýµÄpi/2Ö®¼ä,µ¥Î»ÊÇ»¡¶È.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l CEIL
Óï·¨: CEIL(x)
¹¦ÄÜ: ¼ÆËã´óÓÚ»òµÈÓÚxµÄ×îСÕûÊýÖµ.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l COS
Óï·¨: COS(x)
¹¦ÄÜ: ·µ»ØxµÄÓàÏÒÖµ. XµÄµ¥Î»ÊÇ»¡¶È.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l COSH
Óï·¨: COSH(x)
¹¦ÄÜ: ¼ÆËãxµÄË«ÇúÓàÏÒÖµ.
l EXP
Óï·¨: EXP(x)
¹¦ÄÜ: ¼ÆËãeµÄx´ÎÃÝ. eΪ×ÔÈ»¶ÔÊý,Ô¼µÈÓÚ2.71828.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l FLOOR
Óï·¨: FLOOR(x)
¹¦ÄÜ: ·µ»ØСÓÚµÈÓÚxµÄ×î´óÕûÊýÖµ.
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l LN
Óï·¨: LN(x)
¹¦ÄÜ: ·µ»ØxµÄ×ÔÈ»¶ÔÊý. x±ØÐëÊÇÕýÊý,²¢ÇÒ´óÓÚ0
ʹÓÃλÖÃ: ¹ý³ÌÐÔÓïÑÔºÍSQLÓï¾ä¡£
l
Ïà¹ØÎĵµ£º
ÔÚoracleÖд¦ÀíÈÕÆÚ´óÈ«
TO_DATE¸ñʽ
Day:
dd number 12
dy abbreviated fri
day spelled out friday
ddspth spelled out, ordinal twelfth
Month:
mm number 03
mon abbreviated mar ......
oracleÖ´Ðмƻ®Ïà¹Ø¸ÅÄî http://blog.csdn.net/wh62592855/archive/2009/11/06/4778343.aspx
1. ʲôÊÇÖ´Ðмƻ®£¿ÎªÊ²Ã´ÒªÁ˽âÖ´Ðмƻ®£¿
ΪÁËÖ´ÐÐÒ»ÌõsqlÓï¾ä£¬oracle¿ÉÄܱØÐëÒªÖ´ÐÐijЩ²½ÖèµÄ²Ù×÷£¬Ã¿Ò»²½Öè¿ÉÄÜÊÇ´ÓÊý¾Ý¿âÖÐÎïÀí¼ìË÷Êý¾ÝÐУ¬»òÕßÓÃijÖÖ·½·¨×¼±¸Êý¾ÝÐУ¬¹© ......
¡¡¡¡Ò»¡¢ÒýÑÔ
¡¡¡¡Êý¾Ý²Ö¿â¼¼ÊõÊÇÄ¿Ç°ÒÑÖªµÄ±È½Ï³ÉÊìºÍ±»¹ã·º²ÉÓõĽâ¾ö·½°¸£¬ÓÃÓÚÕûºÍµçÐÅÔËÓªÆóÒµÄÚ²¿ËùÓзÖÉ¢µÄÔʼҵÎñÊý¾Ý£¬²¢Í¨¹ý±ã½ÝÓÐЧµÄÊý¾Ý·ÃÎÊÊֶΣ¬¿ÉÒÔÖ§³ÖÆóÒµÄÚ²¿²»Í¬²¿ÃÅ£¬²»Í¬ÐèÇ󣬲»Í¬²ã´ÎµÄÓû§Ëæʱ»ñµÃ×Ô¼ºËùÐèµÄÐÅÏ¢¡£Êý¾Ý²Ö¿âϵͳÐèÒªÄܹ»¼°Ê±µØ×·×ٺͷÖÎö´óÁ¿µÄÀúÊ·Êý¾Ý£¬²¢Äܹ»¼°Ê±×ö³ö·ÖÎöºÍÔ¤ ......
CHAR ¹Ì¶¨³¤¶È×Ö·û´® ×î´ó³¤¶È2000 bytes
VARCHAR2 ¿É±ä³¤¶ÈµÄ×Ö·û´® ×î´ó³¤¶È4000 bytes ¿É×öË÷ÒýµÄ×î´ó³¤¶È749
NCHAR ¸ù¾Ý×Ö·û¼¯¶ø¶¨µÄ¹Ì¶¨³¤¶È×Ö·û´® ×î´ó³¤¶È2000 bytes
NVARCHAR2 ¸ù¾Ý×Ö·û¼¯¶ø¶¨µÄ¿É±ä³¤¶È×Ö·û´® ×î´ó³¤¶È4000 bytes
DATE ÈÕÆÚ£ ......