SlideShare a Scribd company logo
Employee Salary Group Summary from Oracle to SQLServer
Ifeanyi I Nwodo
(B.Eng, MCSN,OCA,OCP, MCPD,MCTS,OCJP)
joshuasearch@live.com http://www.facecompete.com
http://alvana.facecompete.com
http://sharepointbi.facecompete.com
In this Article I will show you how to summarise data from an oracle table and store it in a table in
Microsoft SQL Server. I will be achieving this using Microsoft Business Intelligence Studio. I assume
you have some knowledge of Oracle DB, SQL statements, and Microsoft SQL Server.
Microsoft BI Studio is used for designing, developing and maintaining BI solutions which include SQL
Server Integration Services (SSIS), SQL Server Analysis Services (SSAS), and SQL Server Reporting
Services (SSRS).
For this article I will be using the Employees and departments table in the HR schema of oracle
database and SampleIntegrationDB a database I created in microsoft SQLServer 2008r2( Also create
a similar database from your system using the SQL Server management studio). To start:
 Click file, point to new and click on project.
 Click on Integration Project
 Name the Project (I have chosen to name mine Department Summary)
 Click ok
Next we will be creating Data Access Objects in our project to represent the various data pool we
will be utilising in this Integration. In this case it will represent the Oracle DB and Microsoft SQL DB.
To do this:
 Right click on data sources on the solution explorer
 Click New Data Source
 Click next on the data source wizard dialog box.
 Click New
 Specify provider. I will pick OracleClientdata provider for .net to configure data source
object for the Oracle Database.
 Fill the required details including:
 server
 Password
 Username
 Click Ok
 Selecting the new Data Connection Click Next
 Specify a name for this data source eg OracleConnection
 Click Finish
Repeat the Same Step to create a Data Source Object for the database created in Microsoft SQL
Server, using SQLServer Native Client 10.0 as its Provider. When completed the Data Sources folder
within your application should be similar to.
Now that we have this Data Sources, we have to make them accessible to our packages, by
associating them with the Connection Manager. To achieve this do:
 On the connection manager section right click New Connection From Data Sources
 Pick the Oracle Connection you created and click ok
 Repeat the steps to also add the Microsoft sqlserver Database connection you created.
Your Connection manager section should be similar to
Now Its time to work on the package member of our project from within the SSIS folder, lets start by
renaming it to something meaningful.
 Right click on the package name, pick rename and rename it.
Since Our Task involves data movement we will need to use the Data Flow Task Control So drag it
from the toolbox into the control flow section.
With Data Flow Task Added we can now use the Data Flow section from the Data Flow tab
 Click Data Flow tab
 Add ADO NET Source
 Add OLE DB Destination
 Right click on the ADO NET and click edit.
 Set the following in the
o The ADO.NET Connection Manager you created previously for Oracle.
o SQL Command for Access Mode
o And type in the following statement to retrieve the salary summary of the
employees from the employees table in Oracle.
SELECT DEPARTMENT_ID, SUM (SALARY) AS "TOTAL SALARY"
FROM HR.EMPLOYEES
GROUP BY DEPARTMENT_ID
o Click preview to see the result
o Click Ok
 Drag the connector handle from the ADO NET Source to the OLEDB Destination
 Right click on the OLE DB Destination and click Edit and specify the following:
o OLE DB Connection Manager (the connection you created previously for SQL Server)
o Table or View Fast Load for Data Access Mode
o Click on New for Table Name to Have the Process create a New Table in SQL into
which the data from oracle will be entered.
o Modify the query statement to create a table with a better name
CREATE TABLE EmpTotalSalary (
[DEPARTMENT_ID] numeric(4,0),
[TOTAL SALARY] nvarchar(40)
)
o Click ok
o
o Click Mappings to map the destination and source appropriately.
Yours should look like
 Click ok
 Run the Project
Note: if you have 64bit issues while running and your ADO NET Source colours red as opposed to
green, do the following :
 Right Click on the project
 Click on properties
 Click on Debugging
 Change Run64BitRunTime to False
The Result in SQLServer

More Related Content

What's hot

WordPress Ann Arbor: Redirects and Robots for Accurate Analytics Results
WordPress Ann Arbor: Redirects and Robots for Accurate Analytics ResultsWordPress Ann Arbor: Redirects and Robots for Accurate Analytics Results
WordPress Ann Arbor: Redirects and Robots for Accurate Analytics Results
oneilldec
 
Introduction to SQLite in Adobe AIR 1.5
Introduction to SQLite in Adobe AIR 1.5Introduction to SQLite in Adobe AIR 1.5
Introduction to SQLite in Adobe AIR 1.5
Peter Elst
 
Ado.net
Ado.netAdo.net
Ado.net
dina1985vlr
 
ADO.NET -database connection
ADO.NET -database connectionADO.NET -database connection
ADO.NET -database connection
Anekwong Yoddumnern
 
Excel 2007 Unit N
Excel 2007 Unit NExcel 2007 Unit N
Excel 2007 Unit N
Raja Waseem Akhtar
 
Chapter 3: ado.net
Chapter 3: ado.netChapter 3: ado.net
Chapter 3: ado.net
Ngeam Soly
 
L5 sornl
L5 sornlL5 sornl
L5 sornl
Lida015
 
Dealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NETDealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NET
Fernando G. Guerrero
 
Dynamics AX DMF vendor and its alternate address
Dynamics AX DMF vendor and its alternate addressDynamics AX DMF vendor and its alternate address
Dynamics AX DMF vendor and its alternate address
Kunal Kumar
 
For Beginers - ADO.Net
For Beginers - ADO.NetFor Beginers - ADO.Net
For Beginers - ADO.Net
Snehal Harawande
 
Lecture13
Lecture13Lecture13
Deploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dcDeploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dc
Joseph D'Antoni
 
Ado.net
Ado.netAdo.net
Ado.net
Iblesoft
 
( 13 ) Office 2007 Coding With Excel And Excel Services
( 13 ) Office 2007   Coding With Excel And Excel Services( 13 ) Office 2007   Coding With Excel And Excel Services
( 13 ) Office 2007 Coding With Excel And Excel Services
LiquidHub
 
Chapter 14
Chapter 14Chapter 14
Ado .net
Ado .netAdo .net
Ado .net
Manish Singh
 
Asp db
Asp dbAsp db
Asp db
teach4uin
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
Madhuri Kavade
 

What's hot (18)

WordPress Ann Arbor: Redirects and Robots for Accurate Analytics Results
WordPress Ann Arbor: Redirects and Robots for Accurate Analytics ResultsWordPress Ann Arbor: Redirects and Robots for Accurate Analytics Results
WordPress Ann Arbor: Redirects and Robots for Accurate Analytics Results
 
Introduction to SQLite in Adobe AIR 1.5
Introduction to SQLite in Adobe AIR 1.5Introduction to SQLite in Adobe AIR 1.5
Introduction to SQLite in Adobe AIR 1.5
 
Ado.net
Ado.netAdo.net
Ado.net
 
ADO.NET -database connection
ADO.NET -database connectionADO.NET -database connection
ADO.NET -database connection
 
Excel 2007 Unit N
Excel 2007 Unit NExcel 2007 Unit N
Excel 2007 Unit N
 
Chapter 3: ado.net
Chapter 3: ado.netChapter 3: ado.net
Chapter 3: ado.net
 
L5 sornl
L5 sornlL5 sornl
L5 sornl
 
Dealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NETDealing with SQL Security from ADO.NET
Dealing with SQL Security from ADO.NET
 
Dynamics AX DMF vendor and its alternate address
Dynamics AX DMF vendor and its alternate addressDynamics AX DMF vendor and its alternate address
Dynamics AX DMF vendor and its alternate address
 
For Beginers - ADO.Net
For Beginers - ADO.NetFor Beginers - ADO.Net
For Beginers - ADO.Net
 
Lecture13
Lecture13Lecture13
Lecture13
 
Deploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dcDeploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dc
 
Ado.net
Ado.netAdo.net
Ado.net
 
( 13 ) Office 2007 Coding With Excel And Excel Services
( 13 ) Office 2007   Coding With Excel And Excel Services( 13 ) Office 2007   Coding With Excel And Excel Services
( 13 ) Office 2007 Coding With Excel And Excel Services
 
Chapter 14
Chapter 14Chapter 14
Chapter 14
 
Ado .net
Ado .netAdo .net
Ado .net
 
Asp db
Asp dbAsp db
Asp db
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
 

Viewers also liked

My Projects
My ProjectsMy Projects
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data Protection
LearnNowOnline
 
Effectively Managing User Permissions with a Governance Strategy by Justice S...
Effectively Managing User Permissions with a Governance Strategy by Justice S...Effectively Managing User Permissions with a Governance Strategy by Justice S...
Effectively Managing User Permissions with a Governance Strategy by Justice S...
Salesforce Admins
 
Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...
Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...
Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...
Kiran Kumar Talikoti
 
Lesson 5 security
Lesson 5   securityLesson 5   security
Lesson 5 security
Ram Kedem
 
How to Restore SQL Server Database
How to Restore SQL Server DatabaseHow to Restore SQL Server Database
How to Restore SQL Server Database
Berkeley
 
4 execution plans
4 execution plans4 execution plans
4 execution plans
Ram Kedem
 
Sqlserver 2012 installation step by step
Sqlserver 2012 installation step by stepSqlserver 2012 installation step by step
Sqlserver 2012 installation step by step
Oracle Apps DBA
 
MS SQLSERVER:Creating A Database
MS SQLSERVER:Creating A DatabaseMS SQLSERVER:Creating A Database
MS SQLSERVER:Creating A Database
sqlserver content
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
Rahul Narang
 
Using PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your ApplicationUsing PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your Application
Steven Pousty
 
Excel important question for rscit exams
Excel important question for rscit examsExcel important question for rscit exams
Excel important question for rscit exams
SirajRock
 
Ms Excel 2007 Beginners
Ms Excel 2007 Beginners Ms Excel 2007 Beginners
Ms Excel 2007 Beginners
Sameer Manilal
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
baabtra.com - No. 1 supplier of quality freshers
 
A practical tutorial to excel
A practical tutorial to excelA practical tutorial to excel
A practical tutorial to excel
Munna India
 
Microsoft Excel 2007 Tutorial
Microsoft Excel 2007 TutorialMicrosoft Excel 2007 Tutorial
Microsoft Excel 2007 Tutorial
dhafinnaviansyah
 
Introduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersIntroduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginners
Blogger Mumma
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
VishalJharwade
 
Top 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and AnswersTop 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and Answers
iimjobs and hirist
 

Viewers also liked (19)

My Projects
My ProjectsMy Projects
My Projects
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data Protection
 
Effectively Managing User Permissions with a Governance Strategy by Justice S...
Effectively Managing User Permissions with a Governance Strategy by Justice S...Effectively Managing User Permissions with a Governance Strategy by Justice S...
Effectively Managing User Permissions with a Governance Strategy by Justice S...
 
Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...
Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...
Code First Approach For Connecting SQL Server 2008 With Visual C# ,Entity Fra...
 
Lesson 5 security
Lesson 5   securityLesson 5   security
Lesson 5 security
 
How to Restore SQL Server Database
How to Restore SQL Server DatabaseHow to Restore SQL Server Database
How to Restore SQL Server Database
 
4 execution plans
4 execution plans4 execution plans
4 execution plans
 
Sqlserver 2012 installation step by step
Sqlserver 2012 installation step by stepSqlserver 2012 installation step by step
Sqlserver 2012 installation step by step
 
MS SQLSERVER:Creating A Database
MS SQLSERVER:Creating A DatabaseMS SQLSERVER:Creating A Database
MS SQLSERVER:Creating A Database
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
Using PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your ApplicationUsing PostGIS To Add Some Spatial Flavor To Your Application
Using PostGIS To Add Some Spatial Flavor To Your Application
 
Excel important question for rscit exams
Excel important question for rscit examsExcel important question for rscit exams
Excel important question for rscit exams
 
Ms Excel 2007 Beginners
Ms Excel 2007 Beginners Ms Excel 2007 Beginners
Ms Excel 2007 Beginners
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
A practical tutorial to excel
A practical tutorial to excelA practical tutorial to excel
A practical tutorial to excel
 
Microsoft Excel 2007 Tutorial
Microsoft Excel 2007 TutorialMicrosoft Excel 2007 Tutorial
Microsoft Excel 2007 Tutorial
 
Introduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersIntroduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginners
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
Top 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and AnswersTop 100 SQL Interview Questions and Answers
Top 100 SQL Interview Questions and Answers
 

Similar to BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)

dbadapters
dbadaptersdbadapters
dbadapters
XAVIERCONSULTANTS
 
Ob loading data_oracle
Ob loading data_oracleOb loading data_oracle
Ob loading data_oracle
Steve Xu
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
introductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxintroductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptx
YashaswiniSrinivasan1
 
Mule data bases
Mule data basesMule data bases
Mule data bases
Naresh Naidu
 
Adapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedureAdapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedure
prathap kumar
 
0065 using sequelink
0065 using sequelink0065 using sequelink
0065 using sequelink
Janardhan Reddy
 
Angular 12 CRUD Example with Web API
Angular 12 CRUD Example with Web APIAngular 12 CRUD Example with Web API
Angular 12 CRUD Example with Web API
Codingvila
 
Odi 11g master and work repository creation steps
Odi 11g master and work repository creation stepsOdi 11g master and work repository creation steps
Odi 11g master and work repository creation steps
Dharmaraj Borse
 
Sql server 2012 tutorials writing transact-sql statements
Sql server 2012 tutorials   writing transact-sql statementsSql server 2012 tutorials   writing transact-sql statements
Sql server 2012 tutorials writing transact-sql statements
Steve Xu
 
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft Private Cloud
 
70433 Dumps DB
70433 Dumps DB70433 Dumps DB
70433 Dumps DB
Pragya Rastogi
 
ASP.NET MVC 5 Building Your First Web Application (A Beginner S Guide
ASP.NET MVC 5  Building Your First Web Application (A Beginner S GuideASP.NET MVC 5  Building Your First Web Application (A Beginner S Guide
ASP.NET MVC 5 Building Your First Web Application (A Beginner S Guide
Alicia Buske
 
Oracle application express
Oracle application expressOracle application express
Oracle application express
Abhinaw Kumar
 
Page 5 of 7Delete this text and type your name hereThis fi.docx
Page 5 of 7Delete this text and type your name hereThis fi.docxPage 5 of 7Delete this text and type your name hereThis fi.docx
Page 5 of 7Delete this text and type your name hereThis fi.docx
alfred4lewis58146
 
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Ravi Kumar Lanke
 
How to execute an oracle stored procedure with nested table as a parameter fr...
How to execute an oracle stored procedure with nested table as a parameter fr...How to execute an oracle stored procedure with nested table as a parameter fr...
How to execute an oracle stored procedure with nested table as a parameter fr...
Priyobroto Ghosh (Mule ESB Certified)
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express ppt
Abhinaw Kumar
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql server
Vinay Thota
 
Using QLIK with AWS & Python
Using QLIK with AWS & PythonUsing QLIK with AWS & Python
Using QLIK with AWS & Python
Bruce Jenks
 

Similar to BI Tutorial (Copying Data from Oracle to Microsoft SQLServer) (20)

dbadapters
dbadaptersdbadapters
dbadapters
 
Ob loading data_oracle
Ob loading data_oracleOb loading data_oracle
Ob loading data_oracle
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
introductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxintroductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptx
 
Mule data bases
Mule data basesMule data bases
Mule data bases
 
Adapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedureAdapters db-104-informixstoredprocedure
Adapters db-104-informixstoredprocedure
 
0065 using sequelink
0065 using sequelink0065 using sequelink
0065 using sequelink
 
Angular 12 CRUD Example with Web API
Angular 12 CRUD Example with Web APIAngular 12 CRUD Example with Web API
Angular 12 CRUD Example with Web API
 
Odi 11g master and work repository creation steps
Odi 11g master and work repository creation stepsOdi 11g master and work repository creation steps
Odi 11g master and work repository creation steps
 
Sql server 2012 tutorials writing transact-sql statements
Sql server 2012 tutorials   writing transact-sql statementsSql server 2012 tutorials   writing transact-sql statements
Sql server 2012 tutorials writing transact-sql statements
 
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
 
70433 Dumps DB
70433 Dumps DB70433 Dumps DB
70433 Dumps DB
 
ASP.NET MVC 5 Building Your First Web Application (A Beginner S Guide
ASP.NET MVC 5  Building Your First Web Application (A Beginner S GuideASP.NET MVC 5  Building Your First Web Application (A Beginner S Guide
ASP.NET MVC 5 Building Your First Web Application (A Beginner S Guide
 
Oracle application express
Oracle application expressOracle application express
Oracle application express
 
Page 5 of 7Delete this text and type your name hereThis fi.docx
Page 5 of 7Delete this text and type your name hereThis fi.docxPage 5 of 7Delete this text and type your name hereThis fi.docx
Page 5 of 7Delete this text and type your name hereThis fi.docx
 
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
Oracle endeca information discovery v3.0 integration with the obiee 11g bi se...
 
How to execute an oracle stored procedure with nested table as a parameter fr...
How to execute an oracle stored procedure with nested table as a parameter fr...How to execute an oracle stored procedure with nested table as a parameter fr...
How to execute an oracle stored procedure with nested table as a parameter fr...
 
Oracle application express ppt
Oracle application express pptOracle application express ppt
Oracle application express ppt
 
Introduction to sql server
Introduction to sql serverIntroduction to sql server
Introduction to sql server
 
Using QLIK with AWS & Python
Using QLIK with AWS & PythonUsing QLIK with AWS & Python
Using QLIK with AWS & Python
 

Recently uploaded

TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 

Recently uploaded (20)

TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 

BI Tutorial (Copying Data from Oracle to Microsoft SQLServer)

  • 1. Employee Salary Group Summary from Oracle to SQLServer Ifeanyi I Nwodo (B.Eng, MCSN,OCA,OCP, MCPD,MCTS,OCJP) joshuasearch@live.com http://www.facecompete.com http://alvana.facecompete.com http://sharepointbi.facecompete.com In this Article I will show you how to summarise data from an oracle table and store it in a table in Microsoft SQL Server. I will be achieving this using Microsoft Business Intelligence Studio. I assume you have some knowledge of Oracle DB, SQL statements, and Microsoft SQL Server. Microsoft BI Studio is used for designing, developing and maintaining BI solutions which include SQL Server Integration Services (SSIS), SQL Server Analysis Services (SSAS), and SQL Server Reporting Services (SSRS). For this article I will be using the Employees and departments table in the HR schema of oracle database and SampleIntegrationDB a database I created in microsoft SQLServer 2008r2( Also create a similar database from your system using the SQL Server management studio). To start:  Click file, point to new and click on project.  Click on Integration Project  Name the Project (I have chosen to name mine Department Summary)  Click ok Next we will be creating Data Access Objects in our project to represent the various data pool we will be utilising in this Integration. In this case it will represent the Oracle DB and Microsoft SQL DB. To do this:  Right click on data sources on the solution explorer
  • 2.  Click New Data Source  Click next on the data source wizard dialog box.  Click New  Specify provider. I will pick OracleClientdata provider for .net to configure data source object for the Oracle Database.
  • 3.  Fill the required details including:  server  Password  Username  Click Ok  Selecting the new Data Connection Click Next  Specify a name for this data source eg OracleConnection  Click Finish Repeat the Same Step to create a Data Source Object for the database created in Microsoft SQL Server, using SQLServer Native Client 10.0 as its Provider. When completed the Data Sources folder within your application should be similar to.
  • 4. Now that we have this Data Sources, we have to make them accessible to our packages, by associating them with the Connection Manager. To achieve this do:  On the connection manager section right click New Connection From Data Sources  Pick the Oracle Connection you created and click ok
  • 5.  Repeat the steps to also add the Microsoft sqlserver Database connection you created. Your Connection manager section should be similar to Now Its time to work on the package member of our project from within the SSIS folder, lets start by renaming it to something meaningful.  Right click on the package name, pick rename and rename it. Since Our Task involves data movement we will need to use the Data Flow Task Control So drag it from the toolbox into the control flow section.
  • 6. With Data Flow Task Added we can now use the Data Flow section from the Data Flow tab  Click Data Flow tab  Add ADO NET Source  Add OLE DB Destination  Right click on the ADO NET and click edit.  Set the following in the o The ADO.NET Connection Manager you created previously for Oracle. o SQL Command for Access Mode o And type in the following statement to retrieve the salary summary of the employees from the employees table in Oracle. SELECT DEPARTMENT_ID, SUM (SALARY) AS "TOTAL SALARY" FROM HR.EMPLOYEES GROUP BY DEPARTMENT_ID
  • 7. o Click preview to see the result o Click Ok  Drag the connector handle from the ADO NET Source to the OLEDB Destination
  • 8.  Right click on the OLE DB Destination and click Edit and specify the following: o OLE DB Connection Manager (the connection you created previously for SQL Server) o Table or View Fast Load for Data Access Mode o Click on New for Table Name to Have the Process create a New Table in SQL into which the data from oracle will be entered.
  • 9. o Modify the query statement to create a table with a better name CREATE TABLE EmpTotalSalary ( [DEPARTMENT_ID] numeric(4,0), [TOTAL SALARY] nvarchar(40) ) o Click ok o o Click Mappings to map the destination and source appropriately. Yours should look like
  • 10.  Click ok  Run the Project Note: if you have 64bit issues while running and your ADO NET Source colours red as opposed to green, do the following :  Right Click on the project  Click on properties  Click on Debugging  Change Run64BitRunTime to False
  • 11. The Result in SQLServer