Sam Vanga's SQL
Archives: February 2012
Write a Variable To a File Using SSIS
Problem
I’ve a SSIS package. When it fails execution, I want to write a custom message including the package name and error description to a text file.
Solution
One way to accomplish this is to declare a variable, populate it with the message you want, and write it’s value to… Read more
1 comments, 1,321 reads
Posted in Sam Vanga's SQL on 29 February 2012
Creating Your First SSAS 2012 Tabular Project
No matter how simple it is, new things come with some confusion; at least until you get used to it. Analysis Services 2012 Tabular is no different. This post will look at steps to create your first Tabular project.
Let’s start with firing up SQL Server Data Tools located under… Read more
0 comments, 1,456 reads
Posted in Sam Vanga's SQL on 21 February 2012
Be careful with two digit years
I recently had a scary conversation with a user, which can be broken down to:
User: Why would the data have customers with a birth date of MM/DD/2020?
Me: What are you talking about? Lemme take a look.
Me again, this time with a changed voice: Umm,… Read more
0 comments, 338 reads
Posted in Sam Vanga's SQL on 14 February 2012
LAST_VALUE() Analytic Function–SQL Server 2012
Earlier, i discussed FIRST_VALUE() function. FIRST_VALUE() returns the first value from an ordered set of records. Similarly LAST_VALUE() returns the last value for an ordered result set, but you are in for a bit of a surprise if you aren’t familiar with the enhancements to the SQL windows functions. Read more
0 comments, 858 reads
Posted in Sam Vanga's SQL on 7 February 2012



Subscribe to this blog