, MS-Access, QBE, Access/Oracle

Slides:



Advertisements
Similar presentations
Intro to Access 2007 Lindsey Brewer CSSCR September 18, 2009.
Advertisements

Connect to Excel Spreadsheet with an OLE DB Connection.
MS Access 2003 Tutorial By: Juan GUANTENG!!! Y7. Step 1 Launch the Microsoft Access 2003 program. This can be done by clicking an icon on the desktop.
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
UIC Data Conversion and Submission via CDX Node Client UIC Database V2 6/16/
Access Tutorial 3 Maintaining and Querying a Database
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
4/8/99 C. Edward Chow Page 1 Internet Services Manager Click Start | Programs | Administrative Tools | Internet Services Manager.
Exporting Data and Creating Financial Reports with Excel and Crystal Slide 1 Exporting Data and Creating Financial Reports with Excel and Crystal By Peter.
Created By: Jeremy Callan Descore Inc ext. 5405
1.When you first open Publisher 2013, you will see a startup screen that allows you to create a new publication. 2.Click the type of publication that.
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
Advanced Forms Lesson 10.
ODBC REPORTS How to Use Access to work with MS SQL Server Database.
Advanced Database Management System Lab no. 11. SQL Commands (for MySQL) –Update –Replace –Delete.
Chapter 7 PHP Interacts with Ms. Access (Open DataBase Connectivity (ODBC))
Multiple Cases Access Utilities1 Access & ODBC Managing and Using ODBC Connections P.O. Box 6142 Laguna Niguel, CA
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
Create Database Tables
Lecture Note 9: Introduction to the MS Access
Creating a Web Site to Gather Data and Conduct Research.
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
10/31/2012ISC239 Isabelle Bichindaritz1 SQL Graphical Queries Design Query By Example.
Analyzing Data For Effective Decision Making Chapter 3.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
Chapter 9 Query-by-Example Pearson Education © 2009.
Lesson 01: Introduction to Database Software. At the end of this lesson, students should be able to: State the usage of database software. Start a database.
Instructions.  Open up the letter that Adam has given to you  Format it so it look professional.
Managing Database With Oracle Replacement for Ch10 COP 4708.
Microsoft Access Lesson 5 Lexington Technology Center February 25, 2003 Bob Herring On the Web at
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Chapter 5 Building Your Product Catalog database Objectives Create Database. Create Table. Connect to Database. Use ASP Script to add new products. Use.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
How To Start a SQL server Connecting to SQL Server.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
June 17, 2009 Office 2007 Tips & Tricks.
Introduction to Microsoft Publisher 2016
W04 Connecting 3rd Party Application to ODBC
Microsoft Office Access 2003
Microsoft Official Academic Course, Microsoft Access 2013
Objectives Create an action query to create a table
Database application MySQL Database and PhpMyAdmin
Microsoft Official Academic Course, Microsoft Access 2013
Exploring Microsoft Office Access
Chapter 4 MS ACCESS DATABASE.
Creating Database Tables
IS 220 Databases Fundamentals
Microsoft Office Access 2003
Creating and Modifying Queries
Microsoft Official Academic Course, Access 2016
Microsoft Office Access 2003
VISUAL BASIC INTRODUCTION TO DATA CONNECTIVITY.
Data Upload & Management
Microsoft Official Academic Course, Access 2016
Introduction to Database Programs
Access: Access Basics Participation Project
Microsoft Office Access 2003
Accessing Databases with ADO.NET, Handling Exceptions, and Printing
Chapter 9 Query-by-Example Pearson Education © 2009.
Introduction to PowerPoint
Introduction to Database Programs
Grauer and Barber Series Microsoft Access Chapter One
Wings 2.0 Business Flow Reference
Query-by-Example Transparencies
Exploring Microsoft Office Access
Presentation transcript:

09-02-2008, MS-Access, QBE, Access/Oracle CS8630 Database Administration Dr. Mario Guimaraes Class Will Start Momentarily…

Install/Launch Oracle:Another Interface To run one command at a time, Choose Go to Database Home Page from Start Menu (see very first picture above). Start Menu -> Programs -> Oracle 10g Express -> Go to Database Home Page An alternative to using the SQL command prompt is go to the Database Home page from the Start Menu. Select Start Menu, then Programs, then Oracle 10g Express then Database Home Page

Oracle Express Home Page Select the SQL command (third icon below)

Sql Command interface

TOAD http://www.toadsoft.com/lic_agree.html

TO CHECK if ALL TABLES were created From the oracle prompt, type in View user_tables TO CHECK if ALL TABLES were created From the oracle prompt, type in SQL>select table_name from user_tables; You will see the tables customers, orders, products and agents

MS-Access and QBE

Launch MS-Access, Create a new File

Select Blank Database

Creating a Table

Defining Datatatypes

Defining Relationship

Editing Relationships

Creating a Form

Inserting Pictures

Database Utilities

Query-by-Example (QBE) Visual approach for accessing information in a database through use of query templates. Example values are entered into template to represent what access to database is to achieve, such as the answer to a query. Originally developed by IBM in 1970s [Zloof] and has proved so popular that QBE (or similar) is now provided by most DBMSs. When user constructs a QBE - in background, DBMS creates an equivalent SQL statement.

New DB - .MDB file

Introduction to Microsoft Access

SQL View (MS-Access Query)

New Query

Projection

Restriction

Restriction w/ multiple criteria

Join

Totals (Aggregate Functions)

Projecting Expressions

Specifying Criteria

Find Unmatched Query (Outer Join)

Creating a Table

Defining Datatatypes

Defining Relationship

Editing Relationships

Creating a Form

Inserting Pictures

Database Utilities

Connect MS-Access & Oracle Do a search and find odbcad32.exe (ODBC Data Source program) or Control Panel -> Administrative Tools -> Data Sources (ODBC) Then follow the instructions at http://science.kennesaw.edu/~mguimara/3310/odbclab.zip Click on the System DSN panel above (second one from the left) and the add button on the right of A Create New Data Source window appears as shown in Next slide.

Select Driver Select the Microsoft ODBC for Oracle driver and click the Finish button

Define Server A Microsoft ODBC for Oracle Setup window will appear as shown in Figure 3 below (from http://science.kennesaw.edu/~mguimara/3310/odbclab.zip) . For Data Source Name you can choose any name (OracleAccess, for example). For Server Name you choose the Oracle instance (or the service name in a multi-user environment). The other two parameters are optional. User Name is the Oracle user, but you should leave it blank, that way you can login as any user. Click okay and click okay again to save the ODBC Data source and exit.

Get External Data Launch MS-Access and select File Menu -> Get External Data -> Link (if you select import, you are simply copying the oracle tables to MS-Access)

Select File type

Select Data Source When the Select DataSource window appears (Figure 6), select the Machine Data Source tab and then select the Data Source you created.

Select PK When you click the okay button, you will get a login window. Type in your Oracle user name and Password (Server name is the database instance name and should already come typed for you). You then should get a screen with tables which you can select. Select the tables you want link to next slide. Click OK button

Link Tables When you click the okay button (in previous slide), you will get a login window. Type in your Oracle user name and Password (Server name is the database instance name and should already come typed for you). You then should get a screen with tables which you can select. Select the tables you want link to (slide below).

Select PK After you select the tables, make sure you also select the field you want to define as a primary key. Otherwise you will only be able to view data (and not modify).

See Linked Tables You will then be able to access the oracle tables as if they were MS-Access tables. However, since you chose the Link Option (not the import), you are actually modifying the Oracle Database.

Import/Export

Georgia Oracle User Group http://www.gouser.org/

End of Lecture End Of Today’s Lecture.