maandag 6 juni 2016

Installation of SQL Server Management Studio 2016

Introduction

It seems that Microsoft decided to install the SQL Server Management Studio as a separate installation. And, you need to have internet connection to download the software. It is about 825 MB

Installation

Start the installation by opening the Setup.exe of SQL Server Developer edition and click on the Install SQL Server Management Tools.


And internet explorer is opened and you can download the SSMS 2016:


Click on the executable and start the installation with Install.


A restart is needed and you're done..

Conclusion

A small blogpost about the installation of SSMS 2016, It is now a separate installation.

Greetz,

Hennie

zondag 5 juni 2016

Installation of SQL Server Developer Edition 2016

Introduction

I've downloaded the SQL Server Developer Edition 2016 ISO from Visual Studio Essentials site and installed it on a VirtualBox environment. This is my first experience with SQL Server 2016. I didn't got involved in the CTPs and the RCs. This blogpost is just a plain and simple installation with most of the defaults. Disclaimer : this is not a recommended approach. It's just to learn and see how the new installation process is going.

You can download the new SQL Server at visual studio Dev Essentials.

Installation

Once you have the new SQL Server Developer Edition, you can start the installation process.  This is the familiar installation screen. Click on Installation.


Some screenshots along the installation way..


Click a couple of times on Next.


And here we are at the features window.


Some of the interesting (new) features:


Okay, living on the edge! Let's install all the features and see what happens during the next steps in the installation process.


Okay that went well...;-)


Click on the failed Oracle...link will show this:


Okay, now lets download this driver.


KB2919355 

And now solve this one:


Searching for this KB leads to an update for windows 8.1. I'm running Windows Server 2012 R2 and I haven't updated this server yet.


Okay.. a 700 MB download process starts up.. The next step was that I tried to install the software but it seems that the software is incompatible: "The update is not applicable to your computer". Really?


May be there is a Windows Server 2012 R2 version of KB2919355? Now strangely enough If I google for KB2919355 and Windows Server 2012 R2, I see the same page where I downloaded the Windows 8.1 update. This is really great.

I decided to run Windows Update to fix the problem. 1 GB of updates. Hopefully that will do the trick. But It keeps complaining about the KB2919355.


It seems I'm not the only one : http://answers.microsoft.com/en-us/windows/forum/windows8_1-update/unable-to-install-the-kb2919355-update/a3d7d0e8-df36-4a19-9a9a-dab9423bce04?page=2

And finally I managed to fix this according to this site. Just rerun the KB2919355 update.


The question is why so difficult and why is the KB2919355 not in the Windows update? Well, let's leave that for the other bloggers;-) Let's run it by pressing "Yes".


Installation proceeds

And now the installation proceeds with the other screens. click Next, Next, etc

Click Next.


Okay thisis interesting too. I can setup the tempdb during the installation process.


Next...

And these are the installed programs



Conclusion

Now this is the core of the (not a very best practice) installation of SQL Server. Next steps will be installation of SQL Server Management Studio and SSDT BI and DB.

Greetz,

Hennie


zaterdag 4 juni 2016

Downloading Microsoft R Server 2016

Introduction

It seems that Microsoft R Server is a separate installation of  R Server. It is also present a the Visual studio Dev essentials. But is is also a separate installation option during the installation of SQL Server 2016.


You can find the download of R Server here.


Download 

Here is the location of the R Server.


Choose the x64 version....


Now during the installation of SQL Server 2016 I also found these feature installation options:



And there is also a separate installation in the Installation of SQL Server 2016.



Okay, what do we need for what?



Conclusion

It seems there are fouroptions: In Database, Standalone install within the SQL Server installation process, standalone in the SQL Server installation but as separate installation and a separate installation. I will look into this in the near future. I will blog about that...

Greetz,

Hennie


Download SQL Server 2016 Developer Edition

Introduction

Yes, SQL Server 2016 is there finally and the Developer Edition is for free. Finally it's there. I have read quite a lot about it, but waited to study with until the RTM was available. I'm particularly interested in the R engine, Mobile BI and the columnstore improvements. It think that these are the greatest BI improvements. Row level security and PolyBase are other interesting areas for studying..

Download 


The download of SQL Server can be found HERE.


First I couldn't find it. What the...



Then I overlooked a button on the right part of the window.



Click on the Visual Studio Dev Essentials




And here it is....



Let's download this one...


Conclusion


Really great that the developer edition is free although paying 80 euros for Developer Edition in the past was not that much of a pain.

Greetz

Hennie


donderdag 2 juni 2016

PowerPivot : Showing the latest data

Introduction

Show me the latest information that you have! This is a common requirement when you are building reports for users. Users do not always want to click on the selections or slicers (in case of a Excel workbook) in order to select the last day or last month. Just show the latest information.

For this blogpost, I've used an example for my data warehouse monitoring system, and this data warehouse monitoring systems monitors the SSIS packages that were executed. I have structured the SSIS packages into 3 levels: Environment, System and Package. For instance Sales is the environment, Staging and Mart are the systems and the SSIS ETL packages are at Package level. Now in order to know whether the data is correctly loaded for the different areas, the monitoring happens at Environment level.

The DAX Expressions

First create an expression that determines the latest loading date of your data warehouse.

       
MaxDate:=CALCULATE(MAX(Environment[EnvironmentRunTime]);ALL(Environment))


For instance this will give you this : MaxDate: 20160601

Now, add a calculated column (not measure) to the table. This will be used as the filter for the table.

       
=IF(Environment[EnvironmentRunTime] = [MaxDate]; "Latest"; "")

       

In order to prevent using a filter (dropdown, ugly) in Excel, you can use the filter in the CALCULATE Expression.

       
FilterMaxDuration:=CALCULATE([SumDuration]; Environment[ISLatest] = "Latest")
FilterMaxRecordsNew:=CALCULATE([SumRecordsNew]; Environment[ISLatest] = "Latest")


And now it's possible to use these measures in a Pivottable in a Excel workbook :



Conclusion

Showing the latest information is a nice trick that you can use in your PowerPivot Dashboards.

Greetz,
Hennie