SlideShare a Scribd company logo
5SQL SERVER: FEEDINGDATA INTO THE DATABASE
ETL is everythingWhat is ETL?ETL Stands for: Extract – Transform – LoadETL is the set of processes which are done in-order to generate the data what is to be stored in a database/used for analysis
ETL is everythingETL ExplainedLet us consider Tom who wishes to create a database of famous pop albums. The Process that he undertakes under an ETL model will be as follows:Extract DataTransformDataInformation from Album DVDsData WarehouseLoad DataA Data warehouse is defines as a data repository from which retrieval is very quick InternetBooksInfo from friends
Migrating a DatabaseAn Important feature in Database systems is the migration of a databaseIt is defined as the process of porting data from one platform/application in one format to another of a same/different formatThe Process of migration is quite simple:Understand a database and its propertiesUnderstand the differences between the source and the destination systemMake the pre-migration changes in the source dataMigrate from source to destination via automation/manual entryMake the post-migration changes in the destination data
Migrating a DatabaseIllustration: Consider  that a school ‘Hermione Internationals’  upgrades its management system from a Foxpro DBMS to SQL Server 2008 system. The Database contain the same data(student information) but the format and organization of stored-data will differ.Extract values from DBFeed data into DBIntegrate DB into ApplicationIsolate DB
Inserting into a DatabaseAfter creating the structure of a database, the next step is to insert values into it. The Insertion of values must be done with care. The Important things which are to had in mind are:The Data type of value that is inserted should match with the data type of the fieldThe Size of the value inserted must fall within the size which is designated for a particular field while designing of the table.
Inserting into DatabaseThe SQL command to insert into the database is the insert into commandSyntax:insert into <table_name> values (<values>,..)For example, consider a database  maintained by a kid named ‘Jessy’. The database contains information about the cartoons that she watches on Tv.Table name: cartoon
Inserting into DatabaseNow suppose Jessy starts watching a new show ‘Laughs and Gags’ on Pogo Channel, she needs to insert this into her databaseSQL Command:insert into cartoon values(‘Laughs and Gags’,’Pogo’,’4PM: Weekends’, null);Jessy has just started watching the series and can decide on the rating after some-time only. Hence, the field is left as NULL The Order in which the values are given is the order in which they were designed
Updating a DatabaseNow, suppose Jessy has become a fan of ‘Laughs and Gags’ show and wants to give it a rating of 100, she musupdate her database. The SQL syntax for updation is:Syntax:update <table_Name> set <field_Name>=<new_Value> where <condition>For example, consider the database  maintained by ‘Jessy’. Null
Updating a DatabaseSQL Command:Update cartoon set rating=100 	where cartoonName = ‘Laughs and Gags’The Where clause: Where is used to specify a condition for the Query
 For string matching, use the ‘like’ keyword. Here, wild card characters(% and _)% -character represents a group(or single) of characters _ -character represents a single characterIllustration:To Update cartoons whose names start with the letter ‘a’ must be given as Update cartoon set rating=100 	where cartoonName = ‘a%’
Updating a DatabaseIllustration:To Update cartoons whose names start with the letter ‘a’ and the name must of 3 characters in length:Update cartoon set rating=100 	where cartoonName = ‘a__’
Summary5. Feeding data into a database  ETL Process

More Related Content

PPTX
Introduction to DAX
DOCX
Data warehouse Project Report
PPTX
DAX and Power BI Training - 002 DAX Level 1 - 3
PPTX
ADF Mapping Data Flows Training Slides V1
PPT
Sql server basics
PPTX
Azure datafactory
PPTX
Data Lakehouse Symposium | Day 1 | Part 1
PDF
Azure Data Factory V2; The Data Flows
Introduction to DAX
Data warehouse Project Report
DAX and Power BI Training - 002 DAX Level 1 - 3
ADF Mapping Data Flows Training Slides V1
Sql server basics
Azure datafactory
Data Lakehouse Symposium | Day 1 | Part 1
Azure Data Factory V2; The Data Flows

What's hot (20)

PDF
Introduction to DAX Language
PPT
Data Warehouse Basic Guide
PPTX
Data Warehousing
PPTX
Data Streaming in Big Data Analysis
PDF
Fun with SQL
PPTX
Power bi overview of static row level security
PDF
What is in reality a DAX filter context
PDF
Future of Data Engineering
PPTX
Intro to DAX Patterns
PDF
How Kafka Powers the World's Most Popular Vector Database System with Charles...
PDF
Snowflake for Data Engineering
PPTX
Azure data factory
PPTX
Azure Data Factory
PDF
Google BigQuery
PPTX
Data modeling
PDF
The delta architecture
PDF
Presto: Fast SQL-on-Anything (including Delta Lake, Snowflake, Elasticsearch ...
PPTX
Mapping Data Flows Training deck Q1 CY22
PPTX
Microsoft Azure Big Data Analytics
PDF
Introduction to Graph Databases
Introduction to DAX Language
Data Warehouse Basic Guide
Data Warehousing
Data Streaming in Big Data Analysis
Fun with SQL
Power bi overview of static row level security
What is in reality a DAX filter context
Future of Data Engineering
Intro to DAX Patterns
How Kafka Powers the World's Most Popular Vector Database System with Charles...
Snowflake for Data Engineering
Azure data factory
Azure Data Factory
Google BigQuery
Data modeling
The delta architecture
Presto: Fast SQL-on-Anything (including Delta Lake, Snowflake, Elasticsearch ...
Mapping Data Flows Training deck Q1 CY22
Microsoft Azure Big Data Analytics
Introduction to Graph Databases
Ad

Viewers also liked (20)

PDF
Perintah bahasa Query (SQL)
PDF
Bind How To
PPTX
PPTX
Graph Plots in Matlab
PPTX
SPSS: File Managment
PPTX
Procedures And Functions in Matlab
PPTX
MS SQL SERVER: Programming sql server data mining
PPT
PPT
Paramount Search Partners
PPTX
Matlab Importing Data
PPTX
RapidMiner: Advanced Processes And Operators
PPTX
Introduction To R
PPTX
LISP:Loops In Lisp
PPTX
Txomin Hartz Txikia
ODP
Oratoria E RetóRica Latinas
PPTX
Txomin Hartz Txikia
PPT
Webmining Overview
PPTX
BI: Open Source
PPTX
Probability And Its Axioms
PPTX
R Environment
Perintah bahasa Query (SQL)
Bind How To
Graph Plots in Matlab
SPSS: File Managment
Procedures And Functions in Matlab
MS SQL SERVER: Programming sql server data mining
Paramount Search Partners
Matlab Importing Data
RapidMiner: Advanced Processes And Operators
Introduction To R
LISP:Loops In Lisp
Txomin Hartz Txikia
Oratoria E RetóRica Latinas
Txomin Hartz Txikia
Webmining Overview
BI: Open Source
Probability And Its Axioms
R Environment
Ad

Similar to MS Sql Server: Feeding Data Into Database (20)

PPT
Database management and System Development ppt
PPTX
introductionofssis-130418034853-phpapp01.pptx
PDF
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
PDF
Scripted Data Loads with Salesforce DataLoader and ANT
PPT
Creating Database 2010
PPTX
Introduction of ssis
PPT
Managing Oracle Streams Using Enterprise Manager Grid Control
PPT
PPTX
An introduction to Flask and Sqlite3 - revision 1
PPTX
SQL Create Database.pptx
PPT
Eo gaddis java_chapter_16_5e
PPT
Php Data Objects
PDF
Connecting To MS SQL Server With Mulesoft (Stored Procedure To Insert data)
PPT
Unit-2.ppt FOR CSE STUDENTS ENGINEERING ANF MCA
PPT
Database presentation
PPTX
SQL Prepared Statements Tutorial
PPT
JDBC Java Database Connectivity
PPT
NLP Natural Language Processing 10th Chapter.ppt
DOCX
Android database tutorial
PDF
Intake 37 ef2
Database management and System Development ppt
introductionofssis-130418034853-phpapp01.pptx
BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)
Scripted Data Loads with Salesforce DataLoader and ANT
Creating Database 2010
Introduction of ssis
Managing Oracle Streams Using Enterprise Manager Grid Control
An introduction to Flask and Sqlite3 - revision 1
SQL Create Database.pptx
Eo gaddis java_chapter_16_5e
Php Data Objects
Connecting To MS SQL Server With Mulesoft (Stored Procedure To Insert data)
Unit-2.ppt FOR CSE STUDENTS ENGINEERING ANF MCA
Database presentation
SQL Prepared Statements Tutorial
JDBC Java Database Connectivity
NLP Natural Language Processing 10th Chapter.ppt
Android database tutorial
Intake 37 ef2

More from DataminingTools Inc (20)

PPTX
Terminology Machine Learning
PPTX
Techniques Machine Learning
PPTX
Machine learning Introduction
PPTX
Areas of machine leanring
PPTX
AI: Planning and AI
PPTX
AI: Logic in AI 2
PPTX
AI: Logic in AI
PPTX
AI: Learning in AI 2
PPTX
AI: Learning in AI
PPTX
AI: Introduction to artificial intelligence
PPTX
AI: Belief Networks
PPTX
AI: AI & Searching
PPTX
AI: AI & Problem Solving
PPTX
Data Mining: Text and web mining
PPTX
Data Mining: Outlier analysis
PPTX
Data Mining: Mining stream time series and sequence data
PPTX
Data Mining: Mining ,associations, and correlations
PPTX
Data Mining: Graph mining and social network analysis
PPTX
Data warehouse and olap technology
PPTX
Data Mining: Data processing
Terminology Machine Learning
Techniques Machine Learning
Machine learning Introduction
Areas of machine leanring
AI: Planning and AI
AI: Logic in AI 2
AI: Logic in AI
AI: Learning in AI 2
AI: Learning in AI
AI: Introduction to artificial intelligence
AI: Belief Networks
AI: AI & Searching
AI: AI & Problem Solving
Data Mining: Text and web mining
Data Mining: Outlier analysis
Data Mining: Mining stream time series and sequence data
Data Mining: Mining ,associations, and correlations
Data Mining: Graph mining and social network analysis
Data warehouse and olap technology
Data Mining: Data processing

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
KodekX | Application Modernization Development
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
PDF
Approach and Philosophy of On baking technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Review of recent advances in non-invasive hemoglobin estimation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
sap open course for s4hana steps from ECC to s4
KodekX | Application Modernization Development
Network Security Unit 5.pdf for BCA BBA.
Understanding_Digital_Forensics_Presentation.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Weekly Chronicles - August'25 Week I

MS Sql Server: Feeding Data Into Database

  • 1. 5SQL SERVER: FEEDINGDATA INTO THE DATABASE
  • 2. ETL is everythingWhat is ETL?ETL Stands for: Extract – Transform – LoadETL is the set of processes which are done in-order to generate the data what is to be stored in a database/used for analysis
  • 3. ETL is everythingETL ExplainedLet us consider Tom who wishes to create a database of famous pop albums. The Process that he undertakes under an ETL model will be as follows:Extract DataTransformDataInformation from Album DVDsData WarehouseLoad DataA Data warehouse is defines as a data repository from which retrieval is very quick InternetBooksInfo from friends
  • 4. Migrating a DatabaseAn Important feature in Database systems is the migration of a databaseIt is defined as the process of porting data from one platform/application in one format to another of a same/different formatThe Process of migration is quite simple:Understand a database and its propertiesUnderstand the differences between the source and the destination systemMake the pre-migration changes in the source dataMigrate from source to destination via automation/manual entryMake the post-migration changes in the destination data
  • 5. Migrating a DatabaseIllustration: Consider that a school ‘Hermione Internationals’ upgrades its management system from a Foxpro DBMS to SQL Server 2008 system. The Database contain the same data(student information) but the format and organization of stored-data will differ.Extract values from DBFeed data into DBIntegrate DB into ApplicationIsolate DB
  • 6. Inserting into a DatabaseAfter creating the structure of a database, the next step is to insert values into it. The Insertion of values must be done with care. The Important things which are to had in mind are:The Data type of value that is inserted should match with the data type of the fieldThe Size of the value inserted must fall within the size which is designated for a particular field while designing of the table.
  • 7. Inserting into DatabaseThe SQL command to insert into the database is the insert into commandSyntax:insert into <table_name> values (<values>,..)For example, consider a database maintained by a kid named ‘Jessy’. The database contains information about the cartoons that she watches on Tv.Table name: cartoon
  • 8. Inserting into DatabaseNow suppose Jessy starts watching a new show ‘Laughs and Gags’ on Pogo Channel, she needs to insert this into her databaseSQL Command:insert into cartoon values(‘Laughs and Gags’,’Pogo’,’4PM: Weekends’, null);Jessy has just started watching the series and can decide on the rating after some-time only. Hence, the field is left as NULL The Order in which the values are given is the order in which they were designed
  • 9. Updating a DatabaseNow, suppose Jessy has become a fan of ‘Laughs and Gags’ show and wants to give it a rating of 100, she musupdate her database. The SQL syntax for updation is:Syntax:update <table_Name> set <field_Name>=<new_Value> where <condition>For example, consider the database maintained by ‘Jessy’. Null
  • 10. Updating a DatabaseSQL Command:Update cartoon set rating=100 where cartoonName = ‘Laughs and Gags’The Where clause: Where is used to specify a condition for the Query
  • 11. For string matching, use the ‘like’ keyword. Here, wild card characters(% and _)% -character represents a group(or single) of characters _ -character represents a single characterIllustration:To Update cartoons whose names start with the letter ‘a’ must be given as Update cartoon set rating=100 where cartoonName = ‘a%’
  • 12. Updating a DatabaseIllustration:To Update cartoons whose names start with the letter ‘a’ and the name must of 3 characters in length:Update cartoon set rating=100 where cartoonName = ‘a__’
  • 13. Summary5. Feeding data into a database ETL Process
  • 14. Migrating a database
  • 15. Inserting values into a database table
  • 16. Updating a database tableVisit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net