Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Oracle : Data Manipulation, Knowledge Discovery & Reporting Using Ms Access
Oracle : Data Manipulation, Knowledge Discovery & Reporting Using Ms Access
Oracle : Data Manipulation, Knowledge Discovery & Reporting Using Ms Access
Ebook358 pages2 hours

Oracle : Data Manipulation, Knowledge Discovery & Reporting Using Ms Access

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Everything in this book is covered in a step by step manner by first building reader's concept using analogies, real world examples and then taking him/her to the steps of design implementation. The examples are based on MS Access 2003 and Oracle 9i/10g but the concepts are equally good for other versions of MS Access and Oracle.
LanguageEnglish
PublisherLulu.com
Release dateMar 29, 2011
ISBN9781257215416
Oracle : Data Manipulation, Knowledge Discovery & Reporting Using Ms Access

Related to Oracle

Related ebooks

Computers For You

View More

Related articles

Reviews for Oracle

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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.jpg

    MS 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.jpg

    Basically 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.jpg

    In 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.jpg

    You 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.jpg

    MS 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

    Enjoying the preview?
    Page 1 of 1