Using a T-SQL Cursor
In this article, I’m going to cover how to use a SQL Cursor, when you should use a SQL Cursor, and when you should not use a SQL Cursor. Basically, a SQL Cursor is a way to loop through a data ...
View ArticleUsing Data Source to Connect with IBM-AS400
Using Data Source to Connect with IBM-AS400 A data source is a connection that represents a simple connection to a data store; it includes all tables and views in the data store. ...
View ArticleLoading a Dimension Table using the Slowly Changing Dimension Wizard
Loading a Dimension Table using the Slowly Changing Dimension Wizard When designing SSIS packages used to build and maintain data warehouses or other application ...
View ArticleNormalization vs. Dimensional Modeling
In the field of database design, normalization is an important topic that many people don’t give much, if any, consideration. Chances are, if you have designed a database, you have probably ...
View ArticleLocal SQL Server Logins
How many of you have been in this situation? Your objective is to create a local SQL server login that has limited access to certain objects in your database. So you create your new login using ...
View ArticleImport and Export Wizard in SSMS -- Step by Step
In this article I will show you how to use the import export wizard in SSMS. This article has two parts – 1. Importing data from an external source(Excel) into the sql ...
View ArticleExcel Data Load Truncation Error
Excel Data Load Truncation Error I came across an interesting issue while a helping a client. He was trying to load an OLE DB source from a excel spreadsheet and there was a ...
View ArticleCopy and paste columns from excel to a sql server table
This article describes an easy way to copy and paste columns from excel to a sqlserver table. The basic requirement for this is the column names in both excel and sql server tables should be the ...
View ArticleEdit/Select Top N Rows in SQL Server Management Studio
Prior to the release of SQL Server Management Studio 2008, a user with appropriate permissions to the database could right click on a table and choose to return all rows for editing (SQL 7) or ...
View ArticleLoading Parameter Values – Hard Way vs Easy Way
There are many ways to do this, but I thought that I would write an article on how to load available values for a drop down list box parameter in reporting services. Let’s say that you wanted to ...
View ArticleGetting Started With DAX in PowerPivot
With PowerPivot in Excel 2010 you will find a fancy new formula language called Data Analysis Expression (DAX). DAX is used for extending what you can do with your PowerPivot data. This new ...
View ArticleDisecting the Self Referencing Hierarchy
There are times when you will have a hierarchy built into a table. This is where the table references itself for the next level. So there is a foreign and primary key ...
View ArticleJoins From A Common Sense Perspective
In preparation for the Pragmatic Works Foundation Class in December, I was searching for information regarding Joins. Seeing the TSQL command is one thing, but being able to have a diagram and ...
View ArticleA Simple Custom Calendar Control
I know what you’re thinking - another four-letter acronym that starts with an S. SCCC. Maybe you weren’t thinking that. Nevertheless, you are thinking about it now. Just kidding, man. Remember ...
View ArticleHandling Complex Text Files in SSIS
One of the challenges when working with flat files in SSIS comes when record types are mixed in a single file. This is a common scenario in health care where often times header and detail records ...
View ArticleMultiple Views in a Single Report
Multiple Views in a Single Report Power View reports now support multiple views per report. The report pictured below contains a total of five views that you can see previews of to the left of ...
View ArticleRepeat table on each page
I have a requirement, I have three different talbles to display in report. First two table consist just one row each and the thrid table would have several rows....Now depending on the number of ...
View ArticleDeploying your package from BIDS
Congratulations, you’ve made a working SSIS package! Now what? Well, you could just sit back and bask in your success, but that might not look so good on your quarterly performance evaluation. My ...
View ArticleFoundation class by PragmaticWorks! Blog Post: #1
My name is Mitchell Pearson and I'm currently in the Foundation class presented by PragmaticWorks. First of all I would like to thank Brian Knight and the team at PragmaticWorks for presenting this ...
View ArticleThe INSTALLSHAREDWOWDIR command line value is not valid.
I was recently making some changes to my laptop setup and installing SQL Server 2008R2 and SQL Server 2012 directly on the computer rather than on my VM. In the case of my setup I had already ...
View Article