oracle¸´Ï°£¨Èý£© Ö®OracleÊý¾Ý×ÖµäºÍ¿ØÖÆÎļþ
½ñÌ츴ϰOracleµÄÊý¾Ý×ÖµäºÍ¿ØÖÆÎļþ¡£
Ò»¡¢Êý¾Ý×Öµä
Êý¾Ý×ÖµäÊÇÓÉOracle·þÎñÆ÷´´½¨ºÍά»¤µÄÒ»×éÖ»¶ÁµÄϵͳ±í£¬Êý¾Ý×Öµä·ÖΪÁ½´óÀࣺһÀàΪ»ù±í£¬Ò»ÀàΪÊý¾Ý×ÖµäÊÓͼ¡£ÄÇôÊý¾Ý×ÖµäÖÐÓÖ´æÓÐÄÄЩÐÅÏ¢ÄØ£¿
1¡¢Êý¾Ý¿âµÄÂß¼½á¹¹ºÍÎïÀí½á¹¹
2¡¢ËùÓÐÊý¾Ý¿â¶ÔÏó¶¨ÒåµÄÐÅÏ¢
3¡¢ËùÓÐÊý¾Ý¿â¶ÔÏóµÄ´ÅÅÌ¿Õ¼ä·ÖÅäµÄÐÅÏ¢
4¡¢OracleÓû§Ãû
5¡¢Ã¿¸öÓû§ËùÊÚÓèµÄȨÏ޺ͽÇÉ«
6¡¢ÍêÕûÐÔÔ¼ÊøµÄÐÅÏ¢
7¡¢ÁеÄĬÈÏÖµ
8¡¢Éó¼ÆÐÅÏ¢
ÄÇôÊý¾Ý×ÖµäÓÖÊÇÈçºÎ²Ù×÷ÓëʹÓÃÄØ£¿
Êý¾Ý×ÖµäÖ÷ÒªÊÇÓÉOracle·þÎñÆ÷À´Ê¹Óõġ£Oracle·þÎñÆ÷ͨ¹ý·ÃÎÊ»ù±íÀ´»ñµÃÖîÈçÓû§¡¢Óû§¶ÔÏóºÍ´æ´¢½á¹¹µÈ·½ÃæµÄÐÅÏ¢²¢ÀûÓÃÕâЩÐÅÏ¢½øÐÐËùÐèµÄÊý¾Ý¿âµÄ¹ÜÀíºÍά»¤¡£Í¨³£Ö»ÓÐOracle·þÎñÆ÷¿ÉÒÔÐÞ¸ÄÊý¾Ý¿â×ÖµäÖеÄÊý¾Ý¡£
ÄÇô£¬ÄÄЩSQLÓï¾ä¿ÉÒÔÒýÆðOracle·þÎñÆ÷ÐÞ¸ÄÊý¾Ý×ÖµäÄØ£¿
1¡¢DDLÓï¾ä£ºÈçÔö¼Ó»ò¼õÉÙ±í¿Õ¼ä£¬Ôö¼Ó»ò¼õÉÙÓû§
2¡¢DCLÓï¾ä£ºÈçÊÚÓèÓû§È¨ÏÞ¡¢»ØÊÕÓû§È¨ÏÞ
3¡¢Ä³Ð©DMLÓï¾ä£ºÈçÒýÆð±íµÄ´ÅÅÌ´æ´¢¿Õ¼äµÄÀ©Õ¹µÄ²åÈë»òÐÞ¸ÄÓï¾ä¡£
½ÓÏÂÀ´ÊÇÊý¾Ý×ÖµäÊÓͼ£¬·ÖΪÈýÀࣺËüÃÇÓÃǰ׺À´Çø±ð£¬Æäǰ׺·Ö±ðÓÃUSER¡¢ALL¡¢DBA¡£
¶þ¡¢¿ØÖÆÎļþ
Ïà¹ØÎĵµ£º
Ò»¸ö±íÖÐÓм¸°ÙÍòÌõÊý¾Ý£¬¶Ôij¸ö×ֶμÓÁËË÷Òý£¬µ«ÊDzéѯʱÐÔÄܲ¢Ã»ÓÐʲôÌá¸ß£¬ÕâÖ÷Òª¿ÉÄÜÊÇoracleµÄË÷ÒýÏÞÖÆÔì³ÉµÄ¡£
¡¡¡¡oracleµÄË÷ÒýÓÐһЩË÷ÒýÏÞÖÆ£¬ÔÚÕâЩË÷ÒýÏÞÖÆ·¢ÉúµÄÇé¿öÏ£¬¼´Ê¹ÒѾ¼ÓÁËË÷Òý£¬oracle»¹ÊÇ»áÖ´ÐÐÒ»´ÎÈ«±íɨÃ裬²éѯµÄÐÔÄܲ»»á±È²»¼ÓË÷ÒýÓÐËùÌá¸ß£¬·´¶ø¿ÉÄÜÓÉÓÚÊý¾Ý¿âά»¤Ë÷ÒýµÄϵͳ¿ªÏúÔì³ÉÐÔÄܸ ......
Ç°ÃæдÁ˶à·ÝºìÆìDC 4.1ºÍ5.0ÉÏ°²×°Oracle 9i/10gµÄÎĵµ£¬µ«Ò»Ö±Ã»ÓÐÕûÀíDC 5.0ÉÏ°²×°Oracle 10gµ¥»ú·þÎñÆ÷µÄ×ÊÁÏ£¬ÔÒòÊǸùý³Ì·Ç³£¼òµ¥¡£µ«×î½üÏîÄ¿ÖУ¬»¹ÊÇÓÐÓû§Óöµ½Ð©ÎÊÌ⣬½ñÌì¾Í°ÑһЩÐèҪעÒâµÄµØ·½ÕûÀíһϣ¬ÏêϸµÄ¹ý³Ì¾Í²»ÃèÊöÁË¡£
Ò»¡¢ÏµÍ³»·¾³
²Ù×÷ϵͳ£ººìÆì DC 5.0 for x86 »ò x86_64
Ó²¼þ»·¾ ......
×î¼òµ¥µÄÊÇʹÓÃ
/* Formatted on 2009/12/02 16:01 (Formatter Plus v4.8.8) */
SELECT TO_CHAR (TO_DATE ('2009-12-02', 'YYYY-MM-DD'), 'WW')
from DUAL;
²»¹ýto_char()º¯ÊýÔÚ¼ÆËãÒ»ÄêÖеڼ¸ÖÜÊÇ´Ó¸ÃÄêµÄ1ÔÂ1ÈÕ¿ªÊ¼µÄ¡£
ÒÔÏÂSQL Äܵõ½ÕýÈ·µÄ×ÔÈ»ÖÜÊý.
/* Formatted ......
http://www.cnblogs.com/ajian/archive/2009/08/25/1421063.html
TO_DATE¸ñʽ(ÒÔʱ¼ä:2007-11-02 13:45:25ΪÀý)
Year:
yy two digits Á½Î»Äê &nbs ......