SQL Server 2000 creates a cub file corresponding to a multi-dimensional dataset

Source: Internet
Author: User

SQL Server 2000 creates a cub file for a multi-dimensional dataset

 

Choose Mircosoft SQL Server> Analysis Services> MDX sample application.ProgramAnd then you can write mdx

Assume that the (db) multi-dimensional database cetscoredw is created using as and the (cube) Multi-Dimensional Data Set cetscore is created. You can use the following statement to store the multi-dimensional data set as a. Cub file,
You can use the. Cub file for offline analysis.

Create Global cube [cetscore] // Multidimensional Dataset name cetscore
Storage 'C:/cetscore. cub' // path for storing the cub File
From [cetscore] // Multidimensional Dataset cetscore
(
Measure [cetscore]. [number of trainees],
Measure [cetscore]. [number of successful users],
Measure [cetscore]. [pass the total score],
Measure [cetscore]. [total score], // Measure

dimension [cetscore]. [address], // address dimension of the multi-dimensional cetscore dataset
dimension [cetscore]. [time],
dimension [cetscore]. [NJ],
dimension [cetscore]. [XL],
dimension [cetscore]. [level]
)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.