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

ÅäËÍÅä»õµ¥ÉÌÆ·Ã÷ϸ²éѯ sql ÓÅ»¯

c06 --------------7545623Ìõ
c05---------------1032652Ìõ
vc01--------------427741Ìõ
  SQL Statement from editor:
  
  
     select c0602 "ÉÌÆ·±àÂë",c0625 "ÉÌÆ·ÌõÂë",
  c0103 "ÉÌÆ·Ãû³Æ",c0104 "¹æ¸ñ",c0604 "Åä»õ¼þÊý",
  c0605 "Åä»õÊýÁ¿",c0618 "¼Æ»®ÔùÆ·Êý",c0606 "ʵ¼Ê³ö¿âÊý",
  c0621 "³ö¿âÔùÆ·Êý",c0610 "ÃŵêʵÊÕÊý",c0611 "ʵÊÕÔùÆ·Êý",
  c0609 "Ê£ÓàÉÌÆ·Èë¿â",c0622 "Ê£ÓàÉÌÆ·±¨Ëð"
  from c05,c06,vc01 where c0501=c0601  and c0602=c0101
   and to_char(c0538,'yyyy.mm.dd')
  between '2009.1.1' and '2009.2.28'
  ------------------------------------------------------------
   
  Statement Id=7   Type=SORT
  Cost=4827  TimeStamp=20-04-10::16::02:13
 
       (1)  SELECT STATEMENT  CHOOSE
     Est. Rows: 35,042  Cost: 15,955
       (9)  MERGE JOIN
     Est. Rows: 35,042  Cost: 15,955
           (6)  SORT JOIN
                Est. Rows: 35,042  Cost: 11,128
               (5)  TABLE ACCESS BY INDEX ROWID FZDC.C06  [Analyzed]
               (5)   Blocks: 34,464 Est. Rows: 35 of 2,411,508  Cost: 9
                    Tablespace: FZ_DAT
                   (4)  NESTED LOOPS
&nb


Ïà¹ØÎĵµ£º

½â¾öSQL Injection©¶´µÄÒ»¸öº¯Êý

½â¾öSQL Injection©¶´µÄÒ»¸öº¯Êý
http://blog.csdn.net/cncco/archive/2006/04/07/654254.aspx
º¯Êý
<%
Function CheckInput(str,strType)
   'º¯Êý¹¦ÄÜ£º¹ýÂË×Ö·û²ÎÊýÖеĵ¥ÒýºÅ£¬¶ÔÓÚÊý×Ö²ÎÊý½øÐÐÅжϣ¬Èç¹û²»ÊÇÊýÖµÀàÐÍ£¬Ôò¸³Öµ0
   '²ÎÊýÒâÒ壺  str      ......

SQLÈßÓà×ֶεIJßÂԺ͹ÜÀí

SQLÈßÓà×ֶεIJßÂԺ͹ÜÀí
http://www.examda.com/ncre/three/db/fudao/20091203/093528816.html
ÈßÓà×ֶεÄʹÓÃÔÚ¶à±íÁªºÏ²éѯ¶¼ÊÇ´óÊý¾ÝÁ¿µÄ±íµÄÇé¿öÏ£¬È·ÊµÊǸö²»´íµÄÑ¡Ôñ£¬ÓÐЧµÄ¼õÉÙÁËIO²Ù×÷¡£µ«½áºÏÒÑÓеÄÏîÄ¿²úÆ·À´¿´£¬ÈßÓà×Ö¶ÎȷʵÊÇË«Èн£¡£ÓÈÆäÊÇ´óÏîÄ¿µÄ¿ª·¢£¬Èç¹ûºöÂÔij¸ö±íµÄÈßÓà×ֶεĸüУ¬ÄÇôºó¹ûÊÇÔÖÄÑ ......

SQL ³£Óÿì½Ý¼ü´óÈ«

ÊéÇ©£ºÇå³ýËùÓÐÊéÇ©¡£ CTRL-SHIFT-F2
ÊéÇ©£º²åÈë»òɾ³ýÊéÇ©(Çл»)¡£ CTRL+F2
ÊéÇ©£ºÒƶ¯µ½ÏÂÒ»¸öÊéÇ©¡£ F2 ¹¦Äܼü
ÊéÇ©£ºÒƶ¯µ½ÉÏÒ»¸öÊéÇ©¡£ SHIFT+F2
È¡Ïû²éѯ¡£ ALT+BREAK
Á¬½Ó£ºÁ¬½Ó¡£ CTRL+O
Á¬½Ó£º¶Ï¿ªÁ¬½Ó¡£ CTRL+F4
Á¬½Ó£º¶Ï¿ªÁ¬½Ó²¢¹Ø±Õ×Ó´°¿Ú¡£ CTRL+F4
Êý¾Ý¿â¶ÔÏóÐÅÏ¢¡£ ALT+F1
±à¼­£ºÇå³ý»î¶¯ ......

ÓÃsqlÓï¾äʵÏÖÑôÀúÓëÅ©Àúת»»

 £±.½¨Ò»ÕÅ±í¡¡´æ·ÅÊý¾Ý¡¡ÔÚÏÂÃæ£Ó£Ñ£Ìº¯ÊýÖÐÓÐÓõ½
create  table  solardata  
(  
       yearid  int  not  null,  
       data  char(7)  not  null,   ......

SQL ServerÖÐʹÓÃCLRµ÷ÓÃ.NET·½·¨

½éÉÜ
ÎÒÃÇÒ»ÆðÀ´×ö¸öʾÀý£¬ÔÚ.NETÖÐн¨Ò»¸öÀ࣬²¢ÔÚÕâ¸öÀàÀïн¨Ò»¸ö·½·¨£¬È»ºóÔÚSQL ServerÖе÷ÓÃÕâ¸ö·½·¨¡£°´ÕÕ΢ÈíËùÊö£¬Í¨¹ýËÞÖ÷ Microsoft .NET Framework 2.0 ¹«¹²ÓïÑÔÔËÐпâ (CLR)£¬SQL Server 2005ÏÔÖøµØÔöÇ¿ÁËÊý¾Ý¿â±à³ÌÄ£ÐÍ¡£ ÕâʹµÃ¿ª·¢ÈËÔ±¿ÉÒÔÓÃÈκÎCLRÓïÑÔ£¨ÈçC#¡¢VB.NET»òC++µÈ£©À´Ð´´æ´¢¹ý³Ì¡¢´¥·¢Æ÷ºÍÓ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ