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

SQL Server BI Step by Step SSRS 1

  ½ñÌìÎÒÃÇ¿ªÊ¼SQL SERVER BIµÄÁíÍâÒ»¸öÖØÒªµÄ²¿·Ö --Reporting Service£¬Ïà¶ÔÓÚIntegration ServiceºÍAnalysis Service£¬Reporing ServiceÔÚ¹úÄÚµÄʹÓÃÕßÓ¦¸Ã¶àºÜ¶à.Ò»·½ÃæÓÉÓÚReporing Service·ÑÓñȽϵͣ¬Ö±½Ó¸½ÊôÔÚSQL SERVERÖУ¬ÁíÍâÒ»·½ÃæÆäʵSSRSÔںܴó³Ì¶ÈÉÏ»¹ÊÇÂú×ãÎÒÃǵı¨±íÐèÇóµÄ¡£ ÔÚSQL Server 2008ÖУ¬SSRS¸üÊÇÔںܶ෽Ã涼ÓÐËù¼ÓÇ¿£¬”Èç¹û΢ÈíÔÚ2008µÄBIÖÐͶÈëÁË10ÃÀÔª£¬ÄDZßÆäÖеÄ8ÃÀÔª¶¼Í¶Èëµ½ÁËReporing ServceÖД.ÎÒÃǾÍÀ´´ó¸Å¿´Ò»Ï£¬SSRS 2008ÌṩÁËÄÄЩеÄÌØÐԺ͸ıä:
       1.ÍÑÀëÁËIIS
       SSRS 2008²»ÔÙÒÀÀµIIS£¬ÆäÄÚÖÃÁË´¦ÀíÓû§ÇëÇóµÄ¹¦ÄÜ¡£µ±Æô¶¯SSRSʱ£¬¿ÉÒÔÖ±½Ó·ÃÎÊReportsºÍReportServer£¬²¢ÇÒ°²È«ÐÔºÍÐÔÄÜÔöÇ¿¡£ÓкܶàÅóÓÑ·´Ó¦µÄÌå»á¾ÍÊÇ£¬”ʹÓÃÁËSSRS 2008ÒԺ󣬲»Äܹ»ÊµÏÖÄäÃû·ÃÎʱ¨±íÁË?”
       2.ÐÂÔöµ¼³öµ½WordÑ¡Ïî,µ¼³öCSVÔöÇ¿
       ÔÚÒÔÇ°µÄµ¼³öXML,Pdf ,ExcelµÈ¸ñʽµÄ»ù´¡ÉÏ£¬Ìí¼ÓÁËÖÚÍûËù¹éµÄµ¼³öWord¸ñʽÎļþµÄÖ§³Ö¡£ÁíÍâµ¼³öCSV¸ñʽÊý¾Ý¹¦ÄÜÔöÇ¿¡£
       3.±¨±í¿ª·¢·½Ê½µÄ¸Ä±ä.
        ×ó²àÁгöÁËÎĵµ´ó¸ÙºÍ±¨±íÊý¾Ý£¬±¨±íÊý¾ÝÖпÉÒÔºÜÖ±½ÓµÄÉèÖñ¨±í²ÎÊý£¬¹ÜÀíÊý¾Ý¼¯¡£Ö÷ÇøÓòÖ»ÓÐÉè¼ÆºÍÁ½¸öTab¡£Éè¼Æ½çÃæÔÚÏÂÃæ¿ÉÒÔ¶ÔÐÐ×éºÍÁÐ×é½øÐÐÉèÖÃ.
                   
       
           4.ÐÂÔöÁËͼ±í¹¤¾ß
          ÓÉÓÚ΢ÈíÊÕ¹ºDundas,SSRSÖÕÓÚÔÚÕâ·½ÃæÓÐËù¼ÓÇ¿¡£Ìí¼ÓÁËͼ±íºÍÒÇ±í¹¦ÄÜ£¬Í¼±í°üÀ¨¸÷ÖÖÖù״ͼ£¬ÕÛÏßͼ£¬±ýͼ£¬ÌõÐÎͼµÈ£¬ÒDZí¿ÉÄÜÒ²ºÜÇ¿´ó£¬ÁíÍâÔÚR2°æ±¾Öл¹Ìí¼ÓÁËMaps£¬Ö±½Ó¿ÉÊÓ»¯Éè¼Æ£¬ÓëBingµÄMaps¼¯³É.
          
            5.Tablix
          Tablix = Table + Matrix,Tablix ½áºÏÁ˱íºÍ¾ØÕóÊý¾ÝÇøµÄ¹¦ÄÜ£¬ÔÊÐíºÏ²¢¶à¸öÁÐ


Ïà¹ØÎĵµ£º

sql²éѯԭÀíºÍSelectÖ´ÐÐ˳Ðò


Ò» sqlÓï¾äµÄÖ´Ðв½Öè
1£©Óï·¨·ÖÎö£¬·ÖÎöÓï¾äµÄÓï·¨ÊÇ·ñ·ûºÏ¹æ·¶£¬ºâÁ¿Óï¾äÖи÷±í´ïʽµÄÒâÒå¡£
2£© ÓïÒå·ÖÎö£¬¼ì²éÓï¾äÖÐÉæ¼°µÄËùÓÐÊý¾Ý¿â¶ÔÏóÊÇ·ñ´æÔÚ£¬ÇÒÓû§ÓÐÏàÓ¦µÄȨÏÞ¡£
3£©ÊÓͼת»»£¬½«Éæ¼°ÊÓͼµÄ²éѯÓï¾äת»»ÎªÏàÓ¦µÄ¶Ô»ù±í²éѯÓï¾ä¡£
4£©±í´ïʽת»»£¬ ½«¸´Ô SQL ±í´ïʽת»»Îª½Ï¼òµ¥µÄµÈЧÁ¬½Ó±í´ïʽ¡ ......

תÔØ Sqlµ¼Èëµ½´¦Excel

/*=================== µ¼Èë/µ¼³ö Excel µÄ»ù±¾·½·¨ ===================*/
¡¡¡¡
¡¡¡¡´ÓExcelÎļþÖÐ,µ¼ÈëÊý¾Ýµ½SQLÊý¾Ý¿âÖÐ,ºÜ¼òµ¥,Ö±½ÓÓÃÏÂÃæµÄÓï¾ä:
¡¡¡¡
¡¡¡¡/*===================================================================*/
¡¡¡¡--Èç¹û½ÓÊÜÊý¾Ýµ¼ÈëµÄ±íÒѾ­´æÔÚ
¡¡¡¡insert into ±í select * from
¡¡ ......

mysqlµÄ´óÅúÁ¿µ¼ÈëÊý¾ÝsqlÓï¾äµÄÒ»µãÓÅ»¯

´óÅúÁ¿²åÈëÊý¾Ýʱ 1,myisam±í,¿ÉÒÔÏÈͨ¹ý alter table table_name disable keys;#ÏȹرձíµÄË÷Òý¼ì²é,×¢ÒâÊÇ·ÇΨһË÷Òý! load data infile ¡®/path/file¡¯ into table table_name; alter table table_name anable keys;#ÔÙ´ò¿ªË÷Òý ¿É´ó´ó¼Ó¿ìµ¼Èë.»¹ÓпÉÒÔÉèÖÃbulk_insert_buffer_sizeÖµÀ´Ìá¸ß²åÈëËÙ¶È ......

SQLÓï¾äÖ´ÐÐЧÂʼ°ÐÔÄܲâÊÔ

д³ÌÐòµÄÈË£¬ÍùÍùÐèÒª·ÖÎöËùдµÄSQLÓï¾äÊÇ·ñÒѾ­ÓÅ»¯¹ýÁË£¬·þÎñÆ÷µÄÏìӦʱ¼äÓжà¿ì£¬Õâ¸öʱºò¾ÍÐèÒªÓõ½SQLµÄSTATISTICS״ֵ̬À´²é¿´ÁË¡£
    Í¨¹ýÉèÖÃSTATISTICSÎÒÃÇ¿ÉÒԲ鿴ִÐÐSQLʱµÄϵͳÇé¿ö¡£Ñ¡ÏîÓÐPROFILE£¬IO £¬TIME¡£½éÉÜÈçÏ£º
SET STATISTICS PROFILE ON£ºÏÔʾ·ÖÎö ......

SQL TRIM()º¯ÊýʹÓ÷½·¨

SQL ÖÐµÄ TRIM º¯Êý
ÊÇÓÃÀ´ÒƳýµôÒ»¸ö×Ö´®ÖеÄ×ÖÍ·»ò×Öβ¡£×î³£¼ûµÄÓÃ;ÊÇÒƳý×ÖÊ×»ò×ÖβµÄ¿Õ°×¡£Õâ¸öº¯ÊýÔÚ²»Í¬µÄ×ÊÁÏ¿âÖÐÓв»Í¬µÄÃû³Æ£º
MySQL: TRIM(), RTRIM(), LTRIM()
Oracle: RTRIM(), LTRIM()
SQL Server: RTRIM(), LTRIM()
¸÷ÖÖ trim º¯ÊýµÄÓï·¨ÈçÏ£º
TRIM ([[λÖÃ] [ÒªÒƳýµÄ×Ö´®] from ] ×Ö´®): [λÖà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ