DBA - How To Enable Transparent Data Encryption (TDE) On a SQL Server...
Here are the steps to enable Transparent Data Encryption or TDE on SQL Server Database.Step 1: The very first step is to Create Database Master Key if it does not exits.The below query can be used to...
View ArticleSSIS - What Is The Difference Between Conditional Split And Multicast...
What is the difference between Multicast and Conditional Split Transformation is very common question asked to an SSIS developer.Multicast Transformation: Multicast Transformation is used to create...
View ArticleDBA - What are SQL Server Versions and Editions available?
There are currently four editions being used in industry for various environments - SQL Server Enterprise EditionSQL Server Standard EditionSQL Server Developer EditionSQL Server Express EditionBelow...
View ArticleDBA Posts - What is SQL Server Instance?
SQL Server installation provides you two options while installing on any machine. SQL Server Default instance (MSSQLSERVE )SQL Server Named instance (MachineName\sqlserverinstanceName)SQL Server...
View ArticleDBA Posts - What is Collation? What Collation will you pick while installing...
A collation in SQL Server is set of rules that govern the proper use of characters and alphabets of any language (Polish, Greek) that you select during installation or while creating the database in...
View ArticleDBA Posts - Best practices for SQL Server Database Files and SQL Server...
There are few things that every DBA should keep in mind about SQL Server databases files in order to get best performance as well as smooth recovery process.Data files and Log files should not be on...
View ArticleSQL DBA Posts - What are database files? How to retrieve database files...
There are three basic types of files in SQL Server Database, primary data file, secondary data file and log file. Primary data files This data file is mandatory whenever you create a new database,...
View ArticleSQL DBA Posts - How to change location of database data or Log files?
There are multiple ways to that you can use to change location of database files, below is the easy way to achieve the goal. 1- Bring the database that you would like to relocate offlineALTER...
View ArticleSQL DBA Posts - How to rename Logical Files of a SQL Server database?
There are couple of easy ways described below to rename logical files of a SQL Server Database. Method 1 USEmaster;GOALTERDATABASE sqlage_testMODIFYFILE ( NAME...
View ArticleSSIS - How To Create Fixed Width Columns Text File in SSIS
Scenario:As ETL developer, we get different type of requirements to generate different types of files. In this post we need to create a text file with fixed width columns. We are going to get the data...
View ArticleSSIS - How to Load Fixed Width Text File to SQL Server Table By Using SSIS...
Scenario:In my last post, I have created the Fixed Width Column Text File from SQL Server Table. In this post we will learn how to load the fixed width flat file or text file into a SQL Server...
View ArticleSSIS - How To Email Flat File or Excel File Records in Tabular Format in SSIS...
Scenario:We got this requirement in which we have to read the records from Flat File Source or An Excel or from any other source and then we want to send these records in an email in tabular format by...
View ArticleSSIS - Why Naming Convention Is Important In SSIS Package
Scenario:Our team has deployed different SSIS Packages those are running in Production. The team had made sure that the logging and error notification is implemented. Once in a while when our SSIS...
View ArticleSSIS - How to Perform Union Operation in SSIS Package
Scenario:We have two text files and we want to perform Union operation ( only get distinct records from both files) and load to our Destination. When we look in Data Flow Items, we don't see any...
View ArticleWhat is filegroup in SQL Server? When to use multiple filegroups?
In my previous post, I have explained file types of a database, Filegroup is essentially a container that can be used to group database objects and database data files for allocation and administrative...
View ArticleDBA Posts - How to add data file to a filegroup?
You can add new data file to an existing filegroup or you can move data files from one filegroup to another. 1- Using T-SQL ALTERDATABASE SQLAgeADDFILE(NAME...
View ArticleSSIS -How to Convert Excel File To CSV ( Comma Separated values) File in SSIS...
Scenario:Our business users create excel file. We need to send this file to vendor but vendor only accepts csv ( Comma separated values) file. We need to convert excel file into csv file by using SSIS...
View ArticleWhat's New in SQL Server 2014 - Overview
What are the new features in SQL Server 2014? In this post I will be covering briefly new and enhanced feature of SQL Server 2014. This post is intended to give visibility into new and enhanced...
View ArticleDBA Posts - Shrinking SQL Server Database
Before I start on this topic, I want to make everyone aware that lots of considerations need to be taken into account prior to shrinking a database. Below are some facts of shirking databaseNever...
View ArticleSSIS - How to Delete Top N Rows from CSV or Text File in SSIS by using Script...
Scenario:We have received text or csv file. The file has some company information,date created etc. before the data rows start. Our goal is to delete these information rows and regenerate file start...
View Article