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

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Ö®left join¡¢right join¡¢inner joinµÄÇø±ð


 
sqlÖ®left join¡¢right join¡¢inner joinµÄÇø±ð
×òÌìÃæÊÔ8Ò³±ÊÊÔÌâÄ¿,»ù±¾É϶¼ÊÇSQl µÄ,ÌرðÊÇÕ⼸¸öÇø±ð,¼ÇµÃ²»ÊǺÜÇåÎú,Ö»¼ÇµÃleftÊÇÒÔ×ó±íΪÖ÷±í,
rightÒÔÓÒ±íΪÖ÷±í,µ¼ÖÂ×ö´íÁ˼¸¸ö!½ñÌìËÑÁËÏÂ!×ÜËãŪÇå³þÁË!ÒÔÏÂÊÇתÌû!
left join(×óÁª½Ó) ·µ»Ø°üÀ¨×ó±íÖеÄËùÓмǼºÍÓÒ±íÖÐÁª½á×Ö¶ÎÏàµÈµÄ¼Ç¼
right j ......

ÓÃsql²é¿´±í½á¹¹


1.oracle
 sql   = "SELECT column_name, data_type, data_length, nullable";
 sql += " from user_tab_columns ";
 sql += " where table_name='";
 sql += $tableName;
 sql += "'";
 select * from user_tab_comments & ......

SQL Server³£ÓÃϵͳ´æ´¢¹ý³Ì

--ÁгöSQL ServerʵÀýÖеÄÊý¾Ý¿â
sp_databases
--·µ»ØSQL Server¡¢Êý¾Ý¿âÍø¹Ø»ò»ù´¡Êý¾ÝÔ´µÄÌØÐÔÃûºÍÆ¥ÅäÖµµÄÁбí
sp_server_info
--·µ»Øµ±Ç°»·¾³ÖеĴ洢¹ý³ÌÁбí
sp_stored_procedures
--·µ»Øµ±Ç°»·¾³Ï¿ɲéѯµÄ¶ÔÏóµÄÁÐ±í£¨ÈκοɳöÏÖÔÚ from ×Ó¾äÖеĶÔÏó£©
sp_tables
select * from sysobjects
---Ìí¼Ó»ò¸ü¸Ä ......

¡¾SQL SERVER2005Ò³Ãæ´æ´¢3Ö® ¾Û¼¯Ë÷ÒýµÄ´æ´¢¡¿


                                                 &nbs ......

SQLÈ¡ÈÕÆÚ

SQLÈ¡ÈÕÆÚ
SQL Server 2009-11-19 15:07:30 ÔĶÁ7 ÆÀÂÛ0 ×ֺţº´óÖÐС
·½·¨Ò»:
select CONVERT(varchar, getdate(), 120 )
2004-09-12 11:06:08
select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),\'-\',\'\'),\' \',\'\'),\':\',\'\')
20040912110608
select CONVERT(varchar(12) , getdate( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ