SSIS - Delete files older than retention period from folder with parameter...
After using some of the ways to delete the files from the particular folder like Delete file using Script Task and File System Task in SSIS. We have seen such methods and used logic to get the files...
View Article#0134 - SQL Server – SSMS – Tutorial – 09 - Integrating with peripheral...
As mentioned in Part 01 of this tutorial series, one of the key responsibilities of SSMS was to replace the erstwhile SQL Server Enterprise Manager – the interface that is used to manage & maintain...
View ArticleDatta's Ramblings on Business Intelligence 'N' Life - Extracting Report URL...
I was working on a report for monitoring the usage of reports on a Report Server instance. As part of that, I wanted to display a list of reports with values for various metrics along with few...
View ArticleSSIS Tutorial - Getting started with SSIS - Part 5: Data Flow Task - Sudeep Raj
Now we come to the heart and soul of SSIS “DATA FLOW TASK” aka DFT. As the name suggests, it is a task. What kind of task? Data Flow Task that literally means a task where DATA flows. That’s exactly...
View Article#0135 - SQL Server – SSMS – Tutorial – 10 - Troubleshooting (L200)
All systems are susceptible to failure. No software is perfect, and therefore it is natural that SSMS too will fail. Today, I have put together some of the most common failures that I have experienced...
View ArticleSinghVikash Blog - SSIS: Read and Export Excel data from nth Row
This post shows how we can read and export data rom excel starting from nth row. In SSIS we can read excel data starting from any number of row. Considering a scenario we have a excel file like below...
View ArticleFun with Square braces
Square braces in SQL Server play a major role in T-SQL programming. When an object name contains a space, special character, etc, the only way to express them is to put them aroud squre braces....
View ArticleTSQL Challenge 76 - Identify the sequence of accounting transactions
The challenge is to identify the sequence of accounting transactions. The table has data which is ordered. You need to follow the order of the data, and detect a certain condition which lasts for a...
View ArticleSSIS Tutorial - Getting started with SSIS - Part 8: Creating parameterized...
Now that we have learnt how to create a simple SSIS Package, let us see how we can make it adaptive. What I mean by adaptive is, how we can maintain the package with minimal changes in the future....
View ArticleRead contents of a file to variable – SSIS
Sometimes you will find the need to import a file to a variable using SSIS. In this post, I’ll use Script Task to read contents of a flat file into a variable.
View ArticleYou can drop multiple tables using single DROP statement
Suppose you have three tables named test1,test2 and test3 and you want to drop all these three, you can do it in a single DROP statement
View Article#0137 - SQL Server – Review - Pluralsight course - SQL Server Questions &...
I recently had the opportunity to view some of the newest courses from Pluralsight , an organization that offers online training courses for developers. One of the courses that I viewed was the SQL...
View ArticleReview: OfficeWriter v8
As a BI consultant specializing in SSRS, I have had lots of frustrations and hard times because of Excel. Every now and then, I have some or other business user coming up to me and asking for some...
View ArticleTrick to Supress Division by zero error
Set ARITHABOBRT and ANSI_WARNINGS as OFF to handle division by Zero error
View ArticleGetting started with SSIS - Part 9: Debugging SSIS packages
Our package is ready we have made it dynamic (partly) and we are ready to go. What if there are any errors in the package execution? How to troubleshoot or debug the SSIS Package?
View Article#0138 - SQL Server – Performance – Best Practice – Create Index Before or...
In November 2011, I wrote a post titled SQL Server – Performance – Best Practice – Create Index Before or After a data insert? . The post dealt with answering the question - which method was better –...
View ArticleSQL Server - Split Database Full Backup to Multiple files
As a maintenance activity DBA need to take care of the database backups and monitoring for the same because database backups are more important in recovery.Production live databases have more sizes and...
View ArticleExploring SSMS - Hiding System databases
As you know I have started a new series on "Exploring SSMS" by which I will be posting some features that are available in SSMS which will be very helping during the development. In this post we will...
View ArticleChange location of database file + correct logical file name of the database...
I was verifying a server setup and found that the tempdb files were residing in the root location created during initial sql server installation. As a part of good practices I always separate out the...
View ArticleCREATE SCHEMA statement must be the only statement in the batch
Today, I could not remember quickly how we check for the existence of schema in a database. This is not something I just learned, but something I forgot over the course of time. Since I don't want to...
View ArticleExploring SSMS - Inserting Code snippets for Objects
As you know I have started a new series on "Exploring SSMS" by which I will be posting some features that are available in SSMS which will be very helping during the development. In this post we will...
View ArticleGet random row from the table
Sometimes it happens that we need random row (or set of randoms rows) from table. Itzik Ben-Gan shows us, in one of his book, the efficient way to do this:
View ArticleGetting Started with Windows Phone 7 programming - Getting Started with...
In this series of articles, we are going to see how to develop a Windows Phone 7 application from the scratch and deploy it into the market place. This article is the first part of the series. Here we...
View ArticleGetting Started with Windows Phone 7 programming - Getting Started with...
In this article, we are going to see how to create a simple 'Hello World' Silverlight Windows Phone 7 Application with the development environment, which we discussed in the first part of this series....
View ArticleJeff Wharton's Blog - SQL Server Integration Services 2012 (RC0) Project...
UPDATE – 10th February 2012 Since writing this article I’ve discovered that the Int32 error discussed below occurs irrespective of whether the ServerPort value is greater than 32767 i.e. even a value...
View Article