ã¯ããã«
ãMDXã¯é£è§£ã§ãç¿å¾ãå°é£ãªã¯ã¨ãªã¼è¨èªã§ããã¨è¨ããã¦ãã¾ãããã®é£è¼ã§ã¯ãå ¨7åãã¨ããã¦ãé£è§£ã¨è¨ããã¦ããMDXãå¯è½ãªéãçæéã§å®è·µã§ä½¿ããã¬ãã«ã¾ã§ç¿å¾ã§ãããããåºæ¬çãªèãæ¹ããã使ãé¢æ°ãªã©ã«ç¯å²ãéå®ãã使ç¨ä¾ã¨ã¨ãã«å ¥éç·¨ã¨ãã¦è§£èª¬ãã¦ãã¾ãã
ããªããæ¬è¨äºã¯ãã¤ã¯ãã½ãã社製SQL Server 2005ããã³2008ã®Analysis Servicesãåæã¨ãã¦è§£èª¬ãã¦ãã¾ããMDXã«ã¯ãããããæ¹è¨ããå¤ããè¨è¿°å 容ãä»ã®å¤æ¬¡å ãã¼ã¿ãã¼ã¹è£½åã«å¿ ãããé©åããªãå¯è½æ§ããããã¨ãããããããäºæ¿ä¸ããã
ã第1åç®ã¨ãªãä»åã¯ãMDXæ§æã®åºæ¬ã¨ãã¦ãã¡ã¸ã£ã¼ã¨ãã£ã¡ã³ã·ã§ã³ãã¡ã³ãã¼ãã¿ãã«ã¨ã»ããã®æå®ã®ä»æ¹ã«ã¤ãã¦èª¬æãã¾ãã
対象èªè
- Microsoft SQL Server Analysis Servicesã®åºç¤ç¥èããããããããMDXãè¦ãããã¨ããæ¹
å¿ è¦ãªç°å¢
- Microsoft SQL Server 2005 Analysis Servicesã¾ãã¯Microsoft SQL Server 2008 Analysis Services
ãã¥ã¼ãã®æ§é
ããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã§ã¯ããã¼ã¿ã2次å
ã®ãã¼ãã«ã«æ ¼ç´ãã¾ããæåã«ç©ºã®ãã¼ãã«ããCREATE
ãããããã«ãã¼ã¿ããINSERT
ããã¦ãããSELECT
ããã¾ãããã¼ãã«ã¨ãããç®±ãã¨ããã¼ã¿ã¨ãããä¸èº«ãã¨ãã¯ã£ããåºå¥ã§ãã¾ãã
ãã§ã¯ãå¤æ¬¡å ãã¼ã¿ãã¼ã¹ã§ã¯ã©ãã§ããããï¼
ãå¤æ¬¡å ãã¼ã¿ãã¼ã¹ã¯ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã¨ã¯éããããã¼ãã«ã«ãã¼ã¿ãæ ¼ç´ãããã¨ããèãæ¹èªä½ãæ¨ã¦ãªããã°ãªãã¾ãããå¤æ¬¡å ãã¼ã¿ãã¼ã¹ã®ãã¥ã¼ãã¨ã¯ãä½ãã«ãã¼ã¿ãæ ¼ç´ããããã®ãã¨ãã¦ã§ã¯ãªãããå¤æ¬¡å çã«æ§é åããããã¼ã¿ãã®ãã®ã®ããã¾ããã¨ãã¦ã¤ã¡ã¼ã¸ããã¹ããªã®ã§ãã