- Getting Started with SQL Server 2012 Cube Development
- Simon Lidberg
- 758字
- 2021-08-06 16:48:53
Navigating the project environment
When you are working in SQL Server Development Tools, you are working locally in an offline mode. This means that you are only making changes to your local source files, and not to the server. This is something that can be confusing if you have not worked in an IDE such as Visual Studio before.
One thing that you also need to be aware of is that the IDE is dynamic, meaning that it looks different depending on what project template you have opened. If you have created a project of a different type, it will have content relevant to that project type in all the windows.
Let us go through some of the key aspects of the development environment.

Solution Explorer
An important part of the IDE is the Solution Explorer that contains a folder structure local to your project; in this structure you will find the different source code files organized into sections. As you can see in the screenshot, you have a folder for the different data sources, one for the cubes and so on. From this window you can open the files in your project for editing. By default it will open in the visual editor that lets you work with the object in a visual editor, but if you right-click on an object you can open up and view the source code for the object.
Properties window
When developing Analysis Services' cubes, you will spend a lot of time in the Properties window. Every single object such as an attribute or a dimension has different properties that can be used to change the behavior of the object. Depending on what object you have highlighted in either the Solution Explorer window or in the main window, the Properties window displays the relevant properties. If you find it hard to navigate around the different properties, you should be aware of the sorting feature of the Properties window. This allows you to either view the properties by categories, or sorting them by name.

Build menu
All the changes that you do in SQL Server Data Tools are local to the project itself. This means that you will not see anything on the server until you build and deploy your project to the server. To be able to build and deploy the project, you have to specify the build settings. These settings are the properties of the project. You can click on the Properties button in the Solution Explorer window, or use the Project menu to access the project properties.
The first important setting is on the Build menu, where you can target the server edition that you wish to deploy to. SQL Server comes in three major editions, and they are Standard, Business Intelligence, and Enterprise Editions. You also have a separate edition for developers that contains the same feature set as Enterprise Edition. When it comes to Analysis Services, there are some features that the Standard Edition does not have that are in the other editions. To make sure that you do not try and develop a solution that contains features that are not available in your edition, you have the ability to set the target server edition.
Tip
For a more detailed comparison of what features the different editions support please see the following web page: http://msdn.microsoft.com/en-us/library/cc645993.aspx#SSAS.

During the course of this book, we will use some features that are only available in either Business Intelligence or Enterprise Editions of Analysis Services. This means that you need access to a Developer, Business Intelligence, Enterprise, or Evaluation Edition servers to be able to follow all the steps in this book.
Tip
Evaluation and Developer Editions contain the exact same feature set as the Enterprise Edition of SQL Server, but you are not allowed to use them in a production environment.
The second thing that you need to do is to set the target server that you will deploy your projects to. This is also done in the project properties under Deployment. Here you can specify the server and the database that you wish to deploy to.
In case you installed the instance that you will use for this book according to the instructions earlier in this chapter, you should have two instances of Analysis Services installed on your server; one in tabular mode that is the default instance, and one in multidimensional mode which is a named instance.
If this is the case, then you need to change the project properties so that the project is using the correct deployment server.

- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- PyTorch自動駕駛視覺感知算法實(shí)戰(zhàn)
- Oracle Database In-Memory(架構(gòu)與實(shí)踐)
- Apache Spark 2 for Beginners
- Python高級編程
- jQuery從入門到精通 (軟件開發(fā)視頻大講堂)
- Internet of Things with Intel Galileo
- Instant QlikView 11 Application Development
- Mastering KnockoutJS
- Python機(jī)器學(xué)習(xí)算法與實(shí)戰(zhàn)
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- 小型編譯器設(shè)計實(shí)踐
- Modern C++ Programming Cookbook
- 代替VBA!用Python輕松實(shí)現(xiàn)Excel編程
- OpenMP核心技術(shù)指南