Oracle : Data Manipulation, Knowledge Discovery & Reporting Using Ms Access
By Asim Abbasi
()
About this ebook
Related to Oracle
Related ebooks
Microsoft Access 2003 Rating: 5 out of 5 stars5/5SQL Tutorial For Beginners Rating: 0 out of 5 stars0 ratingsOracle SQL In 10 Minutes Rating: 5 out of 5 stars5/5Learn SQL with MySQL: Retrieve and Manipulate Data Using SQL Commands with Ease Rating: 0 out of 5 stars0 ratingsInstant Creating Data Models with PowerPivot How-to Rating: 1 out of 5 stars1/5Oracle Quick Guides: Part 3 - Coding in Oracle: SQL and PL/SQL Rating: 0 out of 5 stars0 ratingsLearn SQL in 24 Hours Rating: 5 out of 5 stars5/5SQL CODING FOR BEGINNERS: Step-by-Step Beginner's Guide to Mastering SQL Programming and Coding (2022 Crash Course for Newbies) Rating: 0 out of 5 stars0 ratingsMySQL Admin Cookbook LITE: Configuration, Server Monitoring, Managing Users Rating: 4 out of 5 stars4/5Exploring Data with Access 2019 Rating: 0 out of 5 stars0 ratingsPython Programming for Beginners Crash Course with Hands-On Exercises, Including NumPy, Pandas and Matplotlib Rating: 0 out of 5 stars0 ratingsSAS For Dummies Rating: 0 out of 5 stars0 ratingsExcel Data Filters Rating: 5 out of 5 stars5/5Excel 2016 All-in-One For Dummies Rating: 3 out of 5 stars3/5Profitable Programming: Unlocking Success in the Digital Age Rating: 0 out of 5 stars0 ratingsGetting Started with Visual Studio 2019: Learning and Implementing New Features Rating: 0 out of 5 stars0 ratingsVisual Basic 2010 Coding Briefs Data Access Rating: 5 out of 5 stars5/5Excel 365 LOOKUP Functions: Easy Excel 365 Essentials, #6 Rating: 0 out of 5 stars0 ratingsOracle Information Integration, Migration, and Consolidation Rating: 0 out of 5 stars0 ratingsVisual Studio Tips and Trips: II Rating: 0 out of 5 stars0 ratingsExcel Pivot Tables & Charts Rating: 0 out of 5 stars0 ratingsPython Programming Rating: 0 out of 5 stars0 ratingsBeginning Programming with Python For Dummies Rating: 3 out of 5 stars3/5Linux - a Secure Personal Computer for Beginners Rating: 0 out of 5 stars0 ratingsVisual Studio Tips and Tricks: I Rating: 0 out of 5 stars0 ratingsMastering Python Programming: A Comprehensive Guide: The IT Collection Rating: 5 out of 5 stars5/5Excel for Data Insights Rating: 0 out of 5 stars0 ratingsLearn R Programming in 24 Hours Rating: 0 out of 5 stars0 ratings
Computers For You
The Invisible Rainbow: A History of Electricity and Life Rating: 4 out of 5 stars4/5Elon Musk Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Slenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5101 Awesome Builds: Minecraft® Secrets from the World's Greatest Crafters Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsHow to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5The Mega Box: The Ultimate Guide to the Best Free Resources on the Internet Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsMastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 5 out of 5 stars5/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5CompTIA Security+ Practice Questions Rating: 2 out of 5 stars2/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Dark Aeon: Transhumanism and the War Against Humanity Rating: 5 out of 5 stars5/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 0 out of 5 stars0 ratingsThe Professional Voiceover Handbook: Voiceover training, #1 Rating: 5 out of 5 stars5/5The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling Rating: 0 out of 5 stars0 ratingsPractical Lock Picking: A Physical Penetration Tester's Training Guide Rating: 5 out of 5 stars5/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5
Reviews for Oracle
0 ratings0 reviews
Book preview
Oracle - Asim Abbasi
encouragement.
Table of Contents
Title Page
Copyright Page
Dedication
About the Author
Acknowledgements
Chapter 1 - Overview
Chapter 2 - Oracle Database Architecture
Chapter 3 - Oracle Database Networking
Chapter 4 - SQL Fundamentals
Chapter 5 - MS Access Installation & Linking with Oracle
Chapter 6 - Understanding MS Access GUI
Chapter 7 - MS Access Local And Linked Tables
Chapter 8 - MS Access Queries
Chapter 9 - MS Access Modules & Macros
Chapter 10 - MS Access Reports & Forms
Chapter 11 - MS Access Data Import/Export Feature
Chapter 12 - Oracle Knowledge Discovery Using MS Access
Book Extract
Index
Table of Contents
Title Page
Copyright Page
Dedication
About the Author
Acknowledgements
Chapter 1 - Overview
Chapter 2 - Oracle Database Architecture
Chapter 3 - Oracle Database Networking
Chapter 4 - SQL Fundamentals
Chapter 5 - MS Access Installation & Linking with Oracle
Chapter 6 - Understanding MS Access GUI
Chapter 7 - MS Access Local And Linked Tables
Chapter 8 - MS Access Queries
Chapter 9 - MS Access Modules & Macros
Chapter 10 - MS Access Reports & Forms
Chapter 11 - MS Access Data Import/Export Feature
Chapter 12 - Oracle Knowledge Discovery Using MS Access
Book Extract
Index
Chapter 1
Overview
MS Access not only an excellent Front-End tool for Oracle but a database in itself.
MS Access when linked with Oracle plays a role like an interpreter.
Very complex SQL queries can be built in MS Access quickly with no or very little SQL knowledge.
e9781257215416_i0003.jpgMS Access 2003 has evolved into a magnificent tool. Not only it’s a RDBMS database in itself but it’s a wonderful data manipulation, knowledge discovery and reporting tool. Its proven beauty can be utilized if we link it with an enterprise level database management system like Oracle.
Oracle is also a RDBMS database but has the beauty to store tons and tons of information and can serves thousands of user scattered all over the world.
RDBMS stands for Relational Database Management System, it’s basically a standard that defines how data is stored and arranged inside a database. As it’s a standard so any company looking for their product to be accepted in the database industry has to follow this standard.
Key Concepts
MS Access is a wonderful Front-End tool for Oracle Database Server.
Two kinds of tables in MS Access: ‘Local Tables’ and ‘Linked Tables’
Data manipulation operations can be performed on the data residing in Oracle using MS Access.
SQL*Plus is the front tool that gets shipped with Oracle Database Server software. Using it we can communicate with Oracle database using SQL statements.
MS Access when linked with Oracle gives the user ability to bring Oracle tables as Linked Tables into its environment so that the user can run the queries as if these are tables residing in Access. It also provides the ability to import/export not only MS Access tables (more precisely called MS Access Local Tables) but all those ‘Link Table’ to different formats including but not limited to MS Excel, CSV (comma separated values) etc.
We can also perform all different types of data manipulation operations like Update/Insert/Delete etc. on the data residing in Oracle using MS Access with no or very little knowledge about SQL (See-Qual): Structured Query Language.
MS Access environment provides the ‘visual’ interface for most operations e.g. building queries just by drag and drop way. Users are required to do the drag and drop kind of operation where as the MS Access software builds the SQL at the backend.
If you have to perform the similar operation using SQL*Plus you have to be very swift in SQL. We will discuss in detail about SQL, it purpose and uses later in the book.
e9781257215416_i0004.jpgBasically RDBMS (Relational Database Management System) is nothing but a standard. For many years database industry was not having any standard for storing and retrieving information. Although there were companies have software for this purpose but everyone was looking into the situation their own way.
With the presence of this standard nearly all the good database software out there follows this standard and it has made the life of end-users or the companies where these database softwares are being utilized very convenient.
As a result to this standard we came up the language called SQL or Structured Query Language. You must be thinking what exactly SQL is and why we can’t live without it. Just imagine for a minute an Aladdin and the Magic Lamp
movie scenario.
Key Concepts
Oracle Database is encrypted and we cannot read it through any Text Editor like MS Word.
SQL commands are used to store and retrieve information.
Oracle Database Server is comprised of two things i.e. Oracle Instance (Genie) & Oracle Database (Genie’s Notebook).
To take the benefit from Genie we need to learn its language i.e. SQL otherwise there will be a communication gap.
MS Access is playing a role of Interpreter where users build queries visually using Drag & Drop operation and MS Access writes the SQL code to be sent to the Oracle Instance for processing.
Many complex quires can be built using Access just by drag & drop operation.
MS Access is not only a front-end tool for giant database servers like Oracle but a database in itself.
Data inside the table are arranged in the form of horizontal rows called records and vertical columns called fields.
Relationships between the tables help in reducing data redundancy and increases data integrity.
The Oracle is the Data Management Genie and he understands only one language i.e. SQL. To take the benefit from this genie we need to learn SQL language or we can use interpreter like MS Access which can help translate our needs into SQL and then pass it over to the Oracle Genie.
With MS Access we can talk with Oracle Genie requiring no or very little knowledge about SQL. We can now build very complex SQL quires very fast visually just by Click, Drag & Drop operation. While we are performing such tasks MS Access writes the SQL code for us. Remember that Oracle just knows one language i.e. SQL.
Just like us when we need to store lots of information we have to write it at some place so that we can’t forget and get the information back whenever we need it. Similarly, Oracle Genie saves tons and tons of information in its encrypted repository called Oracle Database.
In Oracle jargon the name for Oracle Genie is Oracle Instance. Oracle Instance takes care of all users requests as well as management of data. Whereas Oracle database is the place where it writes information. As this database is encrypted so even if you able to copy those database files you can’t read it.
It means that anything going into those data files or anything coming out of those files has to be through the Oracle Genie or in other words Oracle Instance and the only way to communicate with Oracle Genie is SQL.
Now let’s get back to the RDBMS stuff. The stuff we are going to talk about applies to both Oracle and MS Access. Remember that MS Access is not only a Front-end tool for Oracle Database Server but it a database in itself. According to the RDBMS standard, a database should be comprised of tables and data inside each of these tables should reside in the form horizontal rows called ‘Records’ and vertical columns called ‘Fields’.
e9781257215416_i0005.jpgIn the picture above ‘Last Name’, ‘First Name’ and ‘Hire Date’ are the fields of this table. If you move horizontally, you are having records. We can say that the table shown above has 3 Fields and 6 records.
The standard also says that the each table may or may not have relationship with one or more tables. Relationships in between the tables are developed using Primary/Foreign Key concept which we will discuss later in this book.
The sole purpose of developing such relationship amongst tables is to reduce the redundancy of data inside the database. It also helps in increasing the data integrity of the system.
e9781257215416_i0006.jpgYou might have heard about all these databases names like MS Access, Oracle, SQL Server etc. and must be thinking which one to select for learning or implementation purpose. Nearly all the good, famous databases are RDBMS including but not limited to Oracle, DB2, MS SQL Server, MS Access, MySQL etc.
All these databases can be divided into three categories depending upon their application. For small companies we can use MS Access as a solution for data management and if you see that the company has greater potential to grow, you may start with SQL server but not Oracle.
For medium scale companies its best to use SQL Server or MySQL and if you see the company has a greater potential to grow and will turn into an enterprise with couple of years then you may think about starting with Oracle.
Key Concepts
These three class division of databases helps in identifying the purpose of each of these databases.
MS Access can be used as a front-end tool for not only Oracle but with MS SQL Server too.
For very large organizations with business scattered even all over the world, Oracle is the best solution. There is no way you can use MS Access as a solution under such situation.
Since all these databases mentioned above follow RDBMS standard, learning and mastering one will definitely reduce the time to master the other e.g. if it takes you 3 months to master Oracle as a full-time student then you can master MS SQL Server own your own in one week and MS Access in just one day as long as you have the softwares installed in your computer.
e9781257215416_i0007.jpgMS Access has come a long way especially if we talk about MS Access 2003 the latest version in the market. Its ability to query every famous database in the market and serving the purpose of local repository of data at the same time has made this into a versatile tool.
Once MS Access docks into the databases like Oracle. All the Oracle tables and object would then be visible to MS Access for data manipulation, knowledge discovery or in other words data analysis and reporting purposes.
You can easily dump the data from Oracle tables into the same access database which you are using to run queries. We learn in great detail on how to link MS Access with Oracle and what are different types of queries.
Key Concepts
Oracle tables would be visible to MS Access once you establish the link between these two.
You can use MS Access even without linking to any external database.
Macros in MS Access can help to automate certain task with just one click.
Once the Oracle tables are accessible we can perform all different types of mathematical operation in queries like Standard Deviations, finding Years of Service, Age if the date of birth is given, calculating turnover etc.
A very complex query which takes sometimes months to write, test and finalize, can easily be developed using MS Access just by ‘click, drag and drop’ operation within days.
Using MS Access built in Macros we can automate many tasks e.g. We can automate to run 3 or 4 queries and dump the resultant data from Oracle into the same MS Access database with just one click. All these and