Quantcast
Channel: Welcome To TechBrothersIT
Browsing all 1874 articles
Browse latest View live

Add OR Drop Column From CDC Enabled Table Without Losing Data

USE [DataBaseName]GO/*--------------------------------------------------------------------------------------------------------Sometime we have to add or drop column to Source table on which CDC is...

View Article


Estimate the Size of a Clustered Index

--Drop and Create Temp TablesIF Object_id(N'tempdb..#Index_Space_Used') IS NOT NULL  BEGIN      DROP TABLE #Index_Space_Used  ENDIF Object_id(N'tempdb..#Temp') IS NOT NULL  BEGIN      DROP TABLE #Temp...

View Article


Restore Multiple Transaction Log backup Files

/*--------------------------------------------------Restore Multiple transaction log backup files----------------------------------------------------*/DECLARE @DBName VARCHAR(500)DECLARE @LogFilePath...

View Article

Image may be NSFW.
Clik here to view.

Restore Database with Multiple Transaction Log Backup Files SQL Server 2012

Let's say we have taken Full backup and multiple transaction log backups of database in one of the folder and now we want to restore them starting with full backup and then selected transaction log...

View Article

Image may be NSFW.
Clik here to view.

Maintenance Plan "Back Up Database Task" Copy-only Backup Option Included SQL...

We were able to Copy-only Backup  by using GUI ( SSMS) in SQL Server 2008 but It was not available in  Maintenance Plan "Back Up Database Task". Now in SQL Server 2012 It is included in "Back Up...

View Article


Image may be NSFW.
Clik here to view.

SSIS 2012 - Decimal Data Type Variable

In previous version of SQL Server Integration Services (SSIS) Decimal data type was not available for Variables. In SSIS 2012 Microsoft introduced Decimal data type as shown in below snapshot.The value...

View Article

Image may be NSFW.
Clik here to view.

SSIS 2012- Variable Grid Option [Description, Expression]

In SQL Server Integration Services 2008, whenever we need to create expression on variable, we always have to click on variable and then press F4 ( properties window) and then write expression...

View Article

Image may be NSFW.
Clik here to view.

SSIS 2012 - Change Scope of Variable [ Move Variable]

In SQL Server Integration Services 2008 or previous versions once the variable is created with Scope , it was not possible to change the scope of that variable without deleting and recreating in...

View Article


SQL Server Integration Services ( SSIS ) Package Documentation

After creating SQL Server Integration Services Package, the next step is to have the document ready for that package. Here are some important points those I keep in mind while writing document for my...

View Article


SSIS INTERVIEW QUESTIONS

Here are some interview questions those you can expect as ETL Developer. I will be working on below list to add more questions and different small scenarios. Good luck with your...

View Article

SSIS -"How To Use Transformation" Series

I had been thinking to put How to use Series for Different parts of SSIS such as Transformations, Sources , Destinations, Configuration ,Logging, Variable etc but did not get change to put all these...

View Article

Image may be NSFW.
Clik here to view.

SSIS - How to Use Data Viewer

Scenario:Lets say we are developing a package and it extracts some records from source,Implement some business logic by using different transformations and finally load into destination(table/file)....

View Article

SSRS INTERVIEW QUESTIONS

Here are some SSRS Interview Questions, Will keep adding new questions. Good luck with interview as SQL Server Report Developer :) General1.       What is SSRS 2.       When did first version of SSRS...

View Article


Image may be NSFW.
Clik here to view.

SSIS - How to Use Test Destination [Multicast,RowCount]

Scenario:Sometime we need to debug out SSIS Package but we do not want to insert records in destination but still we want to use all the transformations and dump these all records in some dummy...

View Article

Image may be NSFW.
Clik here to view.

SSIS - How To Use Aggregate Transformation [GroupBy, Sum]

Scenario: Let’s say we received a file from our client with columns (CountryName, SalePersonName, SaleAmount). We need to load a table with summary data having only two columns CountryName,...

View Article


DWH INTERVIEW QUESTIONS

1.       What is Data Normalization and denormalization2.       Why would you like to derenormalize your design3.       What is Data Warehouse?4.       Why we need Data Warehouse5.       What is data...

View Article

Backup Multiple Databases from Local and Linked Server (Compression Enabled)

Scenario: Let's say we have to backup multiple databases from one of the server and also few other databases for which we have created linked server. After each of the backup we want to send an email...

View Article


Image may be NSFW.
Clik here to view.

SSIS - How to Use "Character Map" Transformation [LowerCase, UpperCase]

Scenario: Let’s say we are extracting data from source and we have to write to flat file or excel but before we write data we want to format one column to lower case and other column to upper...

View Article

Image may be NSFW.
Clik here to view.

SSIS - How to use "Script Component As Transformation" [ InitCap In SSIS]

Scenario: Let’s say we are extracting data from flat file. One of the column in source is Country Name, the data in this column is all mixed (lower case, upper case, lower upper mixed). Our goal is to...

View Article

Image may be NSFW.
Clik here to view.

SSIS - How To Use "Conditional Split"

Scenario: Let’s say we get data for three countries (USA, Mexico, and Brazil) in one flat file. “The Country Name” column holds the names for countries. We have created three different tables each with...

View Article
Browsing all 1874 articles
Browse latest View live