官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 吴江市| 乌拉特中旗| 赤峰市| 沁水县| 宿松县| 洞口县| 富源县| 堆龙德庆县| 灵丘县| 和顺县| 鲁甸县| 龙川县| 沈阳市| 克什克腾旗| 余干县| 普陀区| 塘沽区| 镇原县| 禹州市| 东丰县| 高唐县| 朝阳区| 建德市| 常宁市| 东乌珠穆沁旗| 车险| 马鞍山市| 天峨县| 襄垣县| 东阳市| 仙桃市| 同仁县| 凤阳县| 雷波县| 读书| 婺源县| 凌云县| 台北市| 如皋市| 凤城市| 紫云|