Get started with QlikView

QlikView is a data analysis tool from QlikTech. They call it Business Discovery, or self-service BI.QlikviewLogo

One of the strength of QlikView is that it is quick to set up and get started with QlikView in a proof of concept.

Here I’ll show how to load data from AdventureWorks2012 into QlikView and how to create a simple interactive chart in QlikView.

(more…)

Continue ReadingGet started with QlikView

Export data from Excel to SQL Server

Need to get data from Excel to SQL Server?

Normally this can be achieved by using SSIS. Excel can be used as a source and/or target in a Data flow. But there may be situations where you need more granular control over which data gets imported to SQL Server.

Perhaps there is a process where a user is involved in deciding which data gets inserted to the database, and the import may be initiated be the user. Or maybe some advanced calculations needs to be made to decide which values get inserted.

Anyway, using VBA (Visual Basic for Applications) in Excel macro, it is rather simple to open a connection to a SQL Server database, generate the statements that will select values from the Excel cells and import them to a table. This blog post will show a simple example of how to export data from Excel to SQL Server.

I am using Excel 2013 and SQL Server 2012 in the example.

(more…)

Continue ReadingExport data from Excel to SQL Server

Configuring SSRS

I was configuring SSRS (SQL Server Reporting Services) to run locally on my new developement machine, and I ran into some problems that I haven’t encountered before. No matter the configuration settings, in Internet Explorer when I tried to open the Report Manager I kept getting the error:

The underlying connection was closed: An unexpected error occurred on a send.

In the SSRS log file (my logfile was found in the folder “C:\Program Files\Microsoft SQL Server\MSRS11.SS2012\Reporting Services\LogFiles”), the following error was found:

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.

(more…)

Continue ReadingConfiguring SSRS

Introduction to SQL Server Data Tools – SSDT

SQL Server Data Tools, SSDT, is a plugin to Visual Studio 2010 and later, with the purpose of enabling an integrated development environment, including database development in Visual Studio.

In this blog post I’ll present a introduction to SQL Server Data Tools – SSDT, and it’s major features.

(more…)

Continue ReadingIntroduction to SQL Server Data Tools – SSDT