How to Find Percentage of Null Values in every Column of all the Tables in...
Scenario: Download ScriptYou are working as SQL Server / TSQL Developer in Auto Insurance Company. You are working on data validation and data analysis for your project. You got this requirement in...
View ArticleHow to Find Percentage of Empty or Blank Values in every Column of all the...
Scenario: Download ScriptYou are working as SQL Server developer / TSQL Developer for Insurance company. You need to perform some analysis of data in one of the database. You are asked to provide...
View ArticleHow to search for a String in all Columns in all tables in SQL Server...
Scenario: Download ScriptYou are working as SQL Server developer / TSQL Developer for finical firm. You are working on analysis data from one of the database. You need to find String let say "Aamir" in...
View ArticleHow to find and Replace Text in all the columns in all the tables in SQL...
Scenario: Download ScriptYou are working as SQL Server / T-SQL developer for Auto Insurance Company. They have some bad data in there database. They would like you to write script that should be able...
View ArticleHow to find values with Leading or Trailing Spaces in SQL Server Table - SQL...
Scenario: Download ScriptYou are working as SQL Server Developer / TSQL Developer with Mortgage Company. You are preparing script for data cleaning. You need to find all the records with leading and...
View ArticleHow to Trim Leading and Trailing spaces for all the values in all the Columns...
Scenario: Download ScriptYou are working as Database Developer / SQL server Developer or T-SQL developer. The project you are working is to find and clean the data in database. You got this scenario...
View ArticleHow to Find Duplicate Records in All the Tables in SQL Server Database - SQL...
Scenario: Download ScriptYou are working on this big project called Data Analysis. you need to find all the duplicate records in all the tables in a database. The database contains hundreds of tables....
View ArticleHow to Find & Delete Duplicate Records on All Tables in SQL Server Database -...
Scenario: Download ScriptYou are working as SQL Server developer / TSQL developer for Credit Card Company. You are working on one of the big project that requires you to find the duplicate records in...
View ArticleHow to Generate Select all Columns with or Without Top X Rows From All Tables...
Scenario: Download ScriptYou are working as SQL Server Developer / TSQL developer. The project you are working is heavily concentrated on analysis and testing. You want to generate Select queries for...
View ArticleConcatenate SQL Server Columns for each Table Query Dynamically in SQL Server...
Scenario: Download ScriptSometime we need to concatenate all the columns for sql server table to generate single column.Think about a scenario where you have to generate full mail address by using...
View ArticleHow to List all Missing Identity Values for all Tables in SQL Server Database...
Scenario : Download ScriptYou are working as SQL Server Developer / TSQL developer for Law firm. You are doing working on data validation / data analysis project. Once of the task you got for analysis,...
View ArticleHow to Find Max and Min Values for all the columns for all the tables in SQL...
Scenario: Download ScriptYou are working as SQL Server Developer or T-SQL developer on one of the Project that involve data analysis. You got this requirement in which you need to get the max and min...
View ArticleHow to Load Specific Sheet Number from Excel Files to SQL Server Table in...
Scenario: Download ScriptYou are working as ETL Developer or SSIS Developer for Banking Firm. You get Single/Multiple Excel Files in Source Folder. Each Excel file has multiple sheets. You need to...
View ArticleHow to import Data from Excel Files for specific Sheet Name to SQL Server...
Scenario: Download ScriptsLet's say we get Single or Multiple Excel Files in source folder. The Excel file/s can have multiple sheets. But we are interested to load only single sheet with name...
View ArticleHow to Import data from Multiple Excel Sheets with a pattern of sheet names...
Scenario: Download ScriptWe get single or multiple Excel files in one of the Source Folder. The Excel File can have single or multiple Sheets. We need to load only Sheets to our SQL Server which name...
View ArticleHow to Load Excel File Name and Sheet Name with Data to SQL Server in SSIS...
Scenario: Download ScriptYou need to load Excel file/s with single or multiple sheets to SQL Server Table. As you will loading the records on daily basis, you would like to keep the information which...
View ArticleLoad Data To Tables according to Excel Sheet Names from Excel Files...
Scenario: Download ScriptLet's say you get single or multiple Excel files in one of Source Folder. The Excel file can come with single or multiple sheets. The sheet names will be matching with the...
View ArticleHow to Load Excel Files with Single/ Multiple Sheets to SQL Server Tables...
Scenario: Download ScriptWe receive single or multiple files in our source folder daily. These Excel Files can have single or multiple Sheets. We need to load these Excel files to SQL Server Tables....
View ArticleHow to Read Excel Sheet Data after Skipping Rows in SSIS Package by using...
Scenario: Download ScriptIn year 2013, I wrote a post Read Excel File After Skipping Few Rows by using OLE DB Source. Today we are going to use Script Task to perform the same task, How to skip Few...
View ArticleHow to read data from Excel Sheet and Load to Multiple Tables by using Script...
Scenario: Download ScriptYou are getting single/Multiple excel files in source folder. The excel file can have single sheet or can have multiple sheets. Each sheet in Excel follow a pattern (...
View Article