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

ÅäÖà SQL Server 2005 Ô¶³Ìµ÷ÊÔ´æ´¢¹ý³Ì

ÎÊÌâ:
    Äú¹¤×÷µÄ±¾»ú×°ÓÐVisual Studio 2005£¬¾ÖÓòÍøÖÐÓÐһ̨SQL Server 2005Êý¾Ý¿â·þÎñÆ÷£¬ÄãÏëͨ¹ý±¾»úÔ¶³Ìµ÷ÊÔSQL Server 2005·þÎñÆ÷ÉϵĴ洢¹ý³Ì¡£µ«ÊDz»ÖªµÀÈçºÎÅäÖûòÆôÓÃÔ¶³Ìµ÷ÊÔ£¿Ï£ÍûÕâƪÎÄÕ¶ÔÄúÓÐÓ᣶ÔÓÚÊý¾Ý¿âºÍVisual StudioÔÚͬһ»úÆ÷µÄ´æ´¢¹ý³Ìµ÷ÊÔ£¬Ô°×ÓÀïÒѾ­ÓÐһƪÒë×÷˵µÄºÜºÃÁË£¬¿ÉÒÔÈ¥²Î¿¼£ºÔÚVisual Studio 2005Öе÷ÊÔSQL Server 2005µÄ´æ´¢¹ý³Ì£¬µ«ÊǶÔÓÚÔ¶³Ìµ÷ÊÔµÄÅäÖã¬Ã»Óйý¶àƪ·ùÃèÊö£¬ËùÒÔ±¾ÎľÍ˵˵ÈçºÎÅäÖÃSQL Server 2005½øÐÐÔ¶³Ìµ÷ÊÔ¡£
    ¿ªÊ¼Ö®Ç°£¬ÎÒÃÇÏÈÔ¼¶¨£¬ÔËÐÐVisiual Studio 2005(ϱ߼ò³ÆVS)µÄ»úÆ÷£¬³Æ֮Ϊ¿Í»§»ú£¬ÔËÐÐSQL Server 2005(ºó±ßÈôδÌØÊâ˵Ã÷£¬SQL Server¾ùÖ¸SQL Server 2005)µÄ»úÆ÷£¬³Æ֮Ϊ·þÎñÆ÷¡£
 
    ÔÚϱߵÄÑÝʾÖУ¬ÎҵĿͻ§»ú²Ù×÷ϵͳÊÇWindows XP SP2£¬·þÎñÆ÷ÊÇWindows Server 2003 £¬°²×°ÓÐSQL Server 2005£¬Á½Ì¨»úÆ÷ÊǶԵÈÍøÂç¹Øϵ£¬¶¼²»ÊÇͨ¹ýÓòµÇ¼/¹ÜÀíµÄ¡£ÊÂʵÉÏ£¬ÔÚÓòÖеĶþ̨»úÆ÷£¬ÅäÖÃÆðÓûá¸ü·½±ã¡£ËùÔÚÇëÏȼì²éÄúµÄÍøÂç»·¾³£¬²¢×¥×¡ÅäÖ÷½·¨µÄºËÐÄÒªµã£¬²»Òª¸ã²»¶¨ÁËÅÜÀ´ÈÓשÎÒŶ:D~
 
   ·Ï»°ÉÙ˵£¬½øÈëÖ÷Ì⣬ÔÚÔ¶³Ìµ÷ÊԵĹý³ÌÖУ¬ÓÐÕâô¼¸¸öµØ·½Ê¹Óõ½ÁËÕâô¼¸¸öÕʺţº
 
      1. ¿Í»§»úÆô¶¯VSµÄÕʺţ¬»òÕßµ±Ç°µÇ¼¿Í»§»úµÄWindowsÕʺţ»
      2. ¿Í»§»ú·ÃÎÊ·þÎñÆ÷×ÊÔ´µÄÕʺÅ(±ÈÈç·ÃÎÊ·þÎñÆ÷¹²ÏíÎļþÕâÑùµÄÇé¿ö)£»
      3. ·þÎñÆ÷ÉÏÆô¶¯SQL Server·þÎñµÄÕÊ»§£»
      4. ¿Í»§»úÁ¬½Ó·þÎñÆ÷Êý¾Ý¿âµÄÕʺÅ(±ÈÈçÊý¾Ý¿âÖÐsaÕâÖÖÕʺÅ)£»
 
    ¶ø¶ÔÓÚÅäÖÃÔ¶³Ìµ÷ÊԵĹؼüÖ®´¦£¬ÊǶÔÓÚȨÏÞµÄÉèÖã¬Ò²¼´ÉÏÊö¼¸¸öÕʺŵÄÉèÖã¬ÄÇô½ÓÏÂÀ´ÎÒÃÇËùÒª×öµÄ£¬¾ÍÊÇ°ÑÕ⼸¸öÕʺż°ÆäȨÏÞÅäÖÃÕýÈ·£¬¾ßÌåÊÇÒÔϼ¸¸ö·½Ã棺
 
    1. µ±Ç°µÇ¼¿Í»§»úµÄWindowsÕʺŵÃÓÐȨÏÞÔËÐÐVSµ÷ÊÔ³ÌÐò£¬ËùÒÔ×îºÃʹÓùÜÀíÔ±×éµÄÕʺŵǼ¿Í»§»ú£»±ÈÈçÕʺţºyao£¬ÃÜÂëΪ1234£¬ÊÇ¿Í»§»ú¹ÜÀíÔ±×éµÄÕʺţ¬Ï±߾ùÒÔ´ËÕʺŽøÐÐ˵Ã÷£»
    2. ÔÚ·þÎñÆ÷ÉÏ£¬Ò²ÓÐÒ»¸öºÍ¿Í»§»úÍêÈ«ÏàͬµÄÕʺţºyao£¬ÃÜÂëΪ1234£¬ÊÇ·þÎñÆ÷Administrators×éµÄ³ÉÔ±£»×¢ÒâÓû§Ãû£¬ÃÜÂëÒªºÍ¿Í»§»úµÄÍêÈ«Ïàͬ£¬Óû§ÃûÏàͬ£¬ÃÜÂ벻ͬҲ²»ÐС££¨Èç


Ïà¹ØÎĵµ£º

SQLÓï¾äÖÐDateAdd º¯Êý˵Ã÷

·µ»Ø 
¡¡¡¡·µ»Ø°üº¬Ò»¸öÈÕÆÚµÄ Variant (Date)£¬ÕâÒ»ÈÕÆÚ»¹¼ÓÉÏÁËÒ»¶Îʱ¼ä¼ä¸ô¡£
Óï·¨
¡¡¡¡DateAdd(interval, number, date)
¡¡¡¡DateAdd º¯ÊýÓï·¨ÖÐÓÐÏÂÁÐÃüÃû²ÎÊý£º
¡¡¡¡interval ±ØÒª¡£×Ö·û´®±í´ïʽ£¬ÊÇËùÒª¼ÓÉÏÈ¥µÄʱ¼ä¼ä¸ô¡£
¡¡¡¡number ±ØÒª¡£ÊýÖµ±í´ïʽ£¬ÊÇÒª¼ÓÉϵÄʱ¼ä¼ä¸ôµÄÊýÄ¿¡£ÆäÊýÖµ¿ÉÒÔΪÕýÊý£¨µÃ ......

Ó°ÏìSQL serverÐÔÄܵĹؼüÈý¸ö·½Ãæ

1 Âß¼­Êý¾Ý¿âºÍ±íµÄÉè¼Æ
Êý¾Ý¿âµÄÂß¼­Éè¼Æ¡¢°üÀ¨±íÓë±íÖ®¼äµÄ¹ØϵÊÇÓÅ»¯¹ØϵÐÍÊý¾Ý¿âÐÔÄܵĺËÐÄ¡£Ò»¸öºÃµÄÂß¼­Êý¾Ý¿âÉè¼Æ¿ÉÒÔΪ
ÓÅ»¯Êý¾Ý¿âºÍÓ¦ÓóÌÐò´òÏÂÁ¼ºÃµÄ»ù´¡¡£
±ê×¼»¯µÄÊý¾Ý¿âÂß¼­Éè¼Æ°üÀ¨ÓöàµÄ¡¢ÓÐÏ໥¹ØϵµÄÕ­±íÀ´´úÌæºÜ¶àÁеij¤Êý¾Ý±í¡£ÏÂÃæÊÇһЩʹÓñê×¼»¯
±íµÄһЩºÃ´¦¡£
A:ÓÉÓÚ±íÕ­£¬Òò´Ë¿ÉÒÔʹŠ......

[SQL Server2008]MDX²éѯÓï¾ä

ÔÚEssbaseÖÐʹÓÃMDXÖ»ÄÜÓÃÓÚ²éѯ£¬Éв»ÄÜÀ´²Ù×÷Cube£¨MS SSASÖпÉÒÔʹÓÃMDXÀ´²Ù×÷CubeµÄ£©£¬ËùÒÔÕâÀïֻѧϰMDXµÄSelectÓï¾ä¡£
 
ÔÚѧϰµÄ¹ý³ÌÖУ¬ÎÒ¾õµÃ×îÓÐÄѶȵĵط½ÓÐÁ½¸ö¡£
Ò»ÊÇ£¬¶ÔOLAP¶àάµÄÀí½â¡£ÈçͬѧϰSQLÒ»Ñù£¬SQL×÷ÓõĶÔÏóÊÇ±í£¬±íµÄ½á¹¹¶¼ÊǶþάµÄ£¬±êʶÐÐÁм´¿É£»µ«ÊÇMDX×÷ÓõĶÔÏóÊǶàάÊý¾Ý¿â£¬ÄÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ