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

VS2010Öд´½¨×Ô¶¨ÒåSQL Rule£¨ºÂÏÜç⣩

VS2010ÒѾ­·¢²¼¼¸Ììʱ¼äÁË£¬Ò»Ð©ÐµÄÌØÐÔÌرðÒýÈËעĿ£¬±ÈÈ磺 ÐÔÄܵÄÎȶ¨ºÍÌáÉý£¬±íÏÖÔÚWPF GUIºÍWPFÎı¾³ÊÏÖ¡£ Windows Azure ToolsÄ£°å¡£ ¶àÏÔʾÆ÷Ö§³Ö£¬Êä³ö´°¿Ú£¬Ààͼ´°¿Ú£¬´úÂ붨Òå´°¿ÚµÈÌṩ¸¨ÖúÐÅÏ¢µÄ´°¿Ú·ÅÖÃÔÚ¸±ÏÔʾÆ÷ÖС£ ¶Ô²¢ÐмÆË㿪·¢µÄ´óÁ¿Ö§³Ö¡£ °üº¬ÁËSharePointµÄÏîÄ¿Ä£°åºÍµ÷ÊÔÖ§³Ö¡£ ÓÃÓÚSilverlightºÍWPFµÄÍÏ·Å°ó¶¨Ö§³Ö¡£ C++ IDEµÄÔöÇ¿£ºÍ¨¹ý¼òµ¥µÄÍϷŲÙ×÷£¬¾ÍÄÜÉú³ÉÎȽ¡µÄWindows´°ÌåÓ¦ÓóÌÐò¡£ ͨ¹ý²¢Ðа²×°ÒÔÏòºó¼æÈÝ.NET 3.5¡£ F#ÓïÑÔµÄÖ§³Ö£¬JavaScriptÖÇÄܸÐÖªÒýÇæµÈµÈ¡£ ³ýÈ¥ÒÔÉÏÌØÐÔ£¬´´½¨×Ô¶¨ÒåSQL RuleÒ²ÓÐËù±ä»¯¡£±¾ÎľÍÈçºÎÔÚVS2010Öд´½¨SQL Rule½øÐÐ˵Ã÷ ¡£ 1.  ʲôÊÇVisual Studio Database EditionÒÔ¼°ÌØÐÔ¡£ Visual Studio Database Edition(ÒÔϼò³ÆVSDB)ÊÇÕë¶ÔµäÐ͵ÄÊý¾Ý¿â¿ª·¢ÈÎÎñ¶øÉè¼ÆµÄ£¬¿ÉÒÔ¶ÔÔ­ÓÐÊý¾Ý¿â·´Ïò¹¤³Ì£¬Ìí¼Ó±í£¬´æ´¢¹ý³ÌºÍÆäËûÊý¾Ý¿âÏîÄ¿£¬¶øÇÒÓÐÑ¡ÔñÐԵؽ«Ð޸IJ¿Êðµ½Ä¿±êÊý¾Ý¿âÖС£ËûµÄÖ÷ÒªÌØÐÔÓУº 1.1Ä£ÐͶԱȣ¨Schema Compare£© ÔÚÏîÄ¿µÄά»¤ºÍÉý¼¶Æڼ䣬ÖÁÉÙÐèҪά»¤²úÆ·Êý¾Ý¿â£¨ÕýÔÚÕýʽÔËÓªµÄÊý¾Ý¿â£©¡¢²âÊÔÊý¾Ý¿â¡¢¿ª·¢Êý¾Ý¿âÕâÈý¸öÊý¾Ý¿â£¬ÄÇ¿ª·¢Êý¾Ý¿â½á¹¹±ä¸üºó£¬ÈçºÎͬ²½µ½ÆäËûÁ½¸öÊý¾Ý¿âÉÏÄØ£¿Ä£ÐͶԱȹ¦ÄÜ¿ÉÒԺܺõؽâ¾ö´ËÎÊÌâ¡£Èç¹û¿ª·¢Êý¾Ý¿â½á¹¹±ä¸ü£¬¿ÉÒÔͨ¹ýÑ¡Ôñ²Ëµ¥µÄData ¡ú Schema Compare ¡ú FilterÖÐÑ¡ÔñDifferent Objects, Missing Objects or New ObjectsÀ´¹ýÂËÁÐ±í¡£Õâ¸ö¹ýÂË¿ÉÒÔʹÎÒÃÇ¿ìËٵؿ´µ½ÄÄЩÐÞ¸ÄÐèÒª¸üе½Ä¿±êÊý¾Ý¿âÖС£È»ºóÎÒÃÇ¿ÉÒÔ±£´æÐ޸Ľű¾µ½Ò»¸öÎļþÖУ¬²¢ÔÚT-SQL±à¼­Æ÷»òÕßÖ±½Ó½«Ð޸ľ«Ð´È뵽Ŀ±êÊý¾Ý¿â¡£ 1.2Êý¾Ý¶Ô±È£¨Data Compare£©     ÓÃÀ´±È½ÏÁ½¸öÊý¾Ý¿âµÄ±í»òÕßÊÓͼÖÐÊý¾ÝÊÇ·ñÏàͬ£¬¿É½øÐбȽϵÄÇ°ÌáÊÇÊý¾Ý¿âÃû³ÆÒ»Ö¡¢±í¾ßÓÐÏàͬµÄÖ÷¼ü¡¢Î¨Ò»Ë÷Òý»òΨһԼÊø¡£±È½ÏÍêºó¿ÉÒÔ¶ÔÐ޸ı£´æµ½Ä¿±êÊý¾Ý¿â»òÕ߽ű¾¡£Õâ¸öÌØÐÔ¿ÉÒÔ½«²úÆ·Êý¾Ý¿âµÄÊý¾Ýµ¼Èëµ½¿ª·¢Êý¾Ý¿â»òÕß²âÊÔÊý¾Ý¿â£¬ÒÔ±ãÓÚ¿ª·¢ºÍ²âÊÔ¡£ 1.3Êý¾ÝÉú³É¼Æ»®£¨Data Generation Plans£© ÔÚÏîÄ¿ÖУ¬¿ª·¢ÍŶÓÿÖÜÖÁÉÙÒ»´ÎÌá½»°æ±¾µ½²âÊÔ»·¾³£¬²âÊÔÈËÔ±Õë¶ÔеÄÊý¾Ý½á¹¹ÈçºÎ¿ìËÙÉú³É²âÊÔ»ù´¡Êý¾ÝÄØ£¿ Êý¾ÝÉú³É¼Æ»®»á½â¾ö´ËÎÊÌâ¡£ÔÚÊý¾ÝÉú³É¼Æ»®¼Æ»®ÖУ¬ÎÒÃÇÒª¶¨ÒåÉú³ÉÊý¾ÝµÄ±í¡¢Ã¿Ò»¸ö±íÒªÉú³ÉµÄ¼Ç¼ÐÐÊýºÍÒª²åÈëÊý¾ÝµÄÀàÐÍ¡£Êý×ÖÀàÐͱȽÏÈÝÒ×Éú³É£¬Õë¶ÔÌØÊâµÄÊý¾Ý±ÈÈçEmail¡¢µç»°ºÅÂë¿ÉÒÔͨ¹ýÕýÔò±í´ïʽRegExÍê³


Ïà¹ØÎĵµ£º

ms sql server ´´½¨Óû§


SQL code
´´½¨½ÇÉ«£¬Óû§£¬È¨ÏÞ
/*--ʾÀý˵Ã÷
ʾÀýÔÚÊý¾Ý¿âpubsÖд´½¨Ò»¸öÓµÓбíjobsµÄËùÓÐȨÏÞ¡¢ÓµÓбítitlesµÄSELECTȨÏ޵ĽÇÉ«r_test
Ëæºó´´½¨ÁËÒ»¸öµÇ¼l_test£¬È»ºóÔÚÊý¾Ý¿âpubsÖÐΪµÇ¼l_test´´½¨ÁËÓû§ÕË»§u_test
ͬʱ½«Óû§ÕË»§u_testÌí¼Óµ½½ÇÉ«r_testÖУ¬Ê¹Æäͨ¹ýȨÏ޼̳лñÈ¡ÁËÓë½ÇÉ«r_t ......

SQL ServerÓÅ»¯¶þ

1.Ó¦¾¡Á¿±ÜÃâÔÚ where ×Ó¾äÖжÔ×ֶνøÐÐ null ÖµÅжϣ¬·ñÔò½«µ¼ÖÂÒýÇæ·ÅÆúʹÓÃË÷Òý¶ø½øÐÐÈ«±íɨÃ裬È磺
select id from t where num is null
¿ÉÒÔÔÚnumÉÏÉèÖÃĬÈÏÖµ0£¬È·±£±íÖÐnumÁÐûÓÐnullÖµ£¬È»ºóÕâÑù²éѯ£º
select id from t where num=0
2.Ó¦¾¡Á¿±ÜÃâÔÚ where ×Ó¾äÖÐʹÓÃ!=»ò<>²Ù×÷·û£¬·ñÔò½«ÒýÇæ·ÅÆúÊ ......

SQL SERVERÖÐTimeStampʹÓÃ

SQL ServerÖÐÁª»ú´ÔÊé
       SQL Server timestamp Êý¾ÝÀàÐÍÓëʱ¼äºÍÈÕÆÚÎ޹ء£SQL Server timestamp ÊǶþ½øÖÆÊý×Ö£¬Ëü±íÃ÷Êý¾Ý¿âÖÐÊý¾ÝÐ޸ķ¢ÉúµÄÏà¶Ô˳Ðò¡£ÊµÏÖ timestamp Êý¾ÝÀàÐÍ×î³õÊÇΪÁËÖ§³Ö SQL Server »Ö¸´Ëã·¨¡£Ã¿´ÎÐÞ¸Äҳʱ£¬¶¼»áʹÓõ±Ç°µÄ @@DBTS Öµ¶ÔÆä×öÒ»´Î±ê¼Ç£¬È»ºó @@D ......

SQL 2005 CHECKÔ¼ÊøºÍ¹æÔòÇø±ð


Ò»¡¢Ô¼Êø   
      Ô¼Êø¶¨Òå¹ØÓÚÁÐÖÐÔÊÐíÖµµÄ¹æÔò£¬ÊÇÇ¿ÖÆÍêÕûÐԵıê×¼»úÖÆ¡£
      Ê¹ÓÃÔ¼ÊøÓÅÏÈÓÚʹÓô¥·¢Æ÷¡¢¹æÔòºÍĬÈÏÖµ¡£²éѯÓÅ»¯Æ÷ҲʹÓÃÔ¼Êø¶¨ÒåÉú³É¸ßÐÔÄܵIJéѯִÐмƻ®¡£SQL Server 2005Ö§³ÖÎåÀàÔ¼Êø£º  
      1. NOT ......

sql server Ë÷Òý¹ÜÀíÁù´óÌúÂÉ


ÎÄÕÂÀ´Ô´£ºIT¹¤³Ì¼¼ÊõÍø http://www.systhinker.com/?viewnews-11609
      ÌúÂÉÒ»£ºÌìÏÂûÓÐÃâ·ÑµÄÎç²Í£¬Ê¹ÓÃË÷ÒýÊÇÐèÒª¸¶³ö´ú¼ÛµÄ¡£
 
¡¡¡¡Ë÷ÒýµÄÓŵãÓÐÄ¿¹²¶Ã£¬µ«ÊÇ£¬È´ºÜÉÙÓÐÈ˹ØÐĹý²ÉÓÃË÷ÒýËùÐèÒª¸¶³öµÄ³É±¾¡£ÈôÊý¾Ý¿â¹ÜÀíÔ±Äܹ»¶ÔË÷ÒýËùÐèÒª¸¶³öµÄ´ú¼ÛÓÐÒ»¸ö³ä·ÖµÄÈÏʶ£¬Ò²¾Í²»» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ