Oracle SQL DeveloperÓëPL/SQL Developer±È½Ï¡¾×ª¡¿
¸½:Oracle SQL Developer — À©Õ¹½»Á÷ÖÐÐÄ
http://www.oracle.com/technology/global/cn/products/database/sql_developer/files/extensions.htm
֮ǰ×÷Ϊһ¸öOracle Employee£¬È´×ÜÊÇÔÚʹÓÃPL/SQL Developer£¨¶øÇÒÊÇÆƽâ°æ£©£¬ÕâʵÔÚÓÐЩ˵²»¹ýÈ¥£¬µ«ÊÇÈçºÎÕÒµ½Ò»¸öºÏÐijÃÊÖµÄÄܹ»ÔÚÓÐÌõ¼þµÄÇé¿öϱÈSQL*PLUS¸ü·½±ãµÄ¹¤¾ßȴʵÔÚ²»ÊÇÒ»¼þ¼òµ¥µÄÊÂÇ飬ÒÔÇ°ÆÚ´ýtora±»QuestÊÕ¹ºÒÔºó»áÓг¤×ã·¢Õ¹£¬¿Éϧ£¬²¢Ã»Óп´µ½×îÖյĽá¹û¡£
֮ǰÔø¾Ëµ¹ý£¬PL/SQL Developer¶ÔÓÚÎÒ×îÄÑÒÔ¸îÉáµÄÊÇcompletion insight¹¦ÄÜ£¬µ±Äã¼Ç²»×¡±í¡¢ÐÔÄÜÊÓͼ»òÕß´æ´¢¹ý³Ì¡¢º¯ÊýµÄÈ«Ãû£¬PL/SQL Developer½«»áÔÚÄãÊäÈëÁ˼¸¸ö×Öĸ֮ºó×Ô¶¯Ìáʾ¡£TOAD·¢Õ¹ÁËÄÇô¶àÄ꣬ȴһֱûÓÐÌṩÏàÀàËƵŦÄÜ¡£
µ«ÊÇÏÖÔÚÍêÈ«Ãâ·ÑµÄÌæ´ú²úÆ·³öÏÖÁË£¬Õâ¾ÍÊÇOracle SQL Developer£¬Oracle¹Ù·½³öÆ·µÄ¿ª·¢¹¤¾ß£¬µ±È»Õâ¸ö¹¤¾ß²¢²»ÊǽñÄê²ÅÍƳöµÄ£¬ÏÖÔÚ×îа汾ÒѾÊÇ1.5.1.54.40£¬µ«ÊÇ£¬×îÔçµÄ1.0°æ±¾²¢²»ÊÇÄÇôºÃÓ㬶øÏÖÔÚ£¬ÎÒ¿ÉÒÔÖ£ÖصØÍƼöËüÁË¡£
Çë×¢Ò⣬Õâ¸ö¹¤¾ßÊÇÍêÈ«Ãâ·ÑµÄ£¬¿ÉÒÔͨ¹ýÕâ¸öÁ´½ÓÏÂÔØ¡£
ÒÔÒ»¸öÆÕͨʹÓÃÕߣ¨ÉõÖÁ˵ÊÇÒ»¸ö²¢²»ÊÇ×ÅÖØÔÚ¿ª·¢ÉϵÄÊý¾Ý¿â¹ÜÀíÔ±£©µÄÉí·Ý±È½ÏÒ»ÏÂOracle SQL DeveloperºÍPL/SQL Developer¡£
1. ¸ñʽ»¯µÄ½á¹ûÊä³ö¡£
ÕâÒ»µãÈκÎÒ»¸öµÚÈý·½¹¤¾ß¶¼×öµÃ²»´í£¬ÊÇÒ»¸ö»ù±¾¹¦ÄÜ¡£
2. ×Ô¶¯Ìáʾ¡£
Ò²¾ÍÊÇÉÏÃæÌáµ½µÄCompletion Insight¹¦ÄÜ£¬¿ÉÒÔ˵£¬Oracle SQL DeveloperÓµÓеŦÄÜÒÔ¼°ËٶȾø¶Ô²»ÑÇÓÚPL/SQL Developer£¬ÉõÖÁÓиüÈËÐÔ»¯µÄ±íÏÖ¡£±ÈÈçµ±Äã¼üÈëselect * from£¬¿Õ¸ñÖ®ºó£¬Oracle SQL Developer»áÁ¢¿Ì¸ø³öÒ»¸öµ±Ç°Óû§ÏµÄËùÓÐTableµÄÁÐ±í£¬Èç¹û¼ÌÐø¼üÈë±ÈÈçDBAÈý¸ö×Öĸ£¬ÄÇôÁÐ±í½«×ª»»ÎªDBA´òÍ·µÄËùÓÐÊý¾Ý×ֵ䡣¶øÈç ¹ûÄã´ÓÒ»ÐеĿªÍ·¼üÈëexecËĸö×Öĸ£¬ÄÇôµ±»Ø³µÒÔºó£¬Oracle SQL Developer»áÁ¢¿Ì¸ø³öÒ»·ÝËùÓпÉÒÔÖ´ÐеĴ洢¹ý³ÌµÄÁÐ±í¡£
×îа汾ÖжÔÓÚV$ÊÓͼµÄÌáʾÓÐbug£¬ÏàÐźܿì¾Í¿ÉÒÔÐ޸ġ£
3. ´úÂëÃÀ»¯¹¦ÄÜ¡£
ËùÓÐʹÓùýPL/SQL DeveloperµÄÅóÓÑÃÇÓ¦¸Ã¶¼ÖªµÀÔÚ×î½üÕ⼸°æÖж¼ÓÐÒ»¸öPL/SQL BeautifierµÄ¹¦ÄÜ£¬¿ÉÒÔ½«Ò»´ó´®SQLÓï¾ä¸ñʽ»¯¸üÈÝÒ×ÔĶÁµÄÑùʽ¡£Í¬ÑùOracle SQL DeveloperÒ²ÌṩÁËÕâÑùµÄ¹¦ÄÜ£¬³Æ֮ΪFormat£¬¿ì½Ý¼üÊÇCtrl+F7¡£
4. ÏÔʾSQLµÄÖ´Ðмƻ®¡£
ÔÚOracle SQL DeveloperÖпì½Ý¼üÊÇF6£¬Í¬Ê±Ò²ÌṩÁËÏÔʾAutotraceµÄ½á¹û£¬¿ì½Ý¼üÊÇF10£¨×îа汾ÖÐËƺõÓеã¶ùСbug£¬ÓÐʱºòÐèÒª°´Á½´
Ïà¹ØÎĵµ£º
SQL Server 2000 µÄϵͳÊý¾Ý¿â
SQL Server 2000·þÎñÆ÷°²×°ºó»á½¨Á¢4ϵͳÊý¾Ý¿â¡£·Ö±ðÊÇmaster¡¢model¡¢msdb¡¢tempdb¡£
1¡¢masterÊý¾Ý¿â
masterÊý¾Ý¿âÊÇSQL Server 2000ÖÐ×îÖØÒªµÄÊý¾Ý¿â£¬¼Ç¼ÁËSQL Server 2000µÄ·þÎñÆ÷¼¶ÏµÍ³ÐÅÏ¢£¬°üÀ¨ËùÓÐÕË»§ºÍÃÜÂ룬´ÅÅ̿ռ䡢Îļþ·ÖÅäºÍʹÓá¢ÏµÍ³¼¶µÄÅäÖòÎÊý¡ ......
1.¼¤»îSQL¸ú×Ù
´Óoracle10gÒÔºóÌṩÁËеķ½·¨¼¤»îSQLµÄ¸ú×Ù£¬¼´ÊÇʹÓÃdbms_monitor°üÀ´¿ªÆô»ò¹Ø±ÕSQL¸ú×Ù¡£
֮ǰ¾É·½·¨ÊÇʹÓà alter session set events .. »òÕßʹÓÃdbms_system.set_ev·½Ê½
ʹÓÃdbms_monitor°ü¿ÉÒÔÔڻỰ£¬¿Í»§¶Ë£¬×é¼þÒÔ¼°Êý¾Ý¿âËĸö²ã¼¶¿ªÆôSQLµÄ¸ú×Ù¡ ......
1. /*+ALL_ROWS*/
±íÃ÷¶ÔÓï¾ä¿éÑ¡Ôñ»ùÓÚ¿ªÏúµÄÓÅ»¯·½·¨,²¢»ñµÃ×î¼ÑÍÌÍÂÁ¿,ʹ×ÊÔ´ÏûºÄ×îС»¯.
ÀýÈç:
SELECT /*+ALL+_ROWS*/ EMP_NO,EMP_NAM,DAT_IN from BSEMPMS WHERE EMP_NO='CCBZZP';
2. /*+FIRST_ROWS*/
±íÃ÷¶ÔÓï¾ä¿éÑ¡Ôñ»ùÓÚ¿ªÏúµÄÓÅ»¯·½·¨,²¢»ñµÃ×î¼ÑÏìӦʱ ......
&nbs ......
ÔÌù£ºhttp://topic.csdn.net/u/20100412/11/a4ea520e-7dd0-44d2-98bb-9f62f0ed6160.html?21233
--------------------------------------------------------------------------
-- Author : htl258(Tony)
-- Date : 2010-04-14 06:02:36
-- Version:Microsoft SQL Server 2008 (RTM) - 1 ......