Databases and Connectivity MIS 497. Relational Databases Dominant database technology today. Dominant database technology today. Stores data in relational.

Slides:



Advertisements
Similar presentations
Microsoft Access.
Advertisements

Creating a Login Process Creating a users table and a login form that denies access to unauthorized users.
Microsoft SQL Server 2008 From the Program menu choose: Microsoft SQL Server 2008 R2  SQL Server Management Studio. You may see a window indicating the.
Access Lesson 2 Creating 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.
The Database Approach u Emphasizes the integration of data across the organization.
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.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
MicroStrategy Connectivity MIS 497. Project Source A Project Source is an alias in which connectivity information for all the projects in that Project.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
® IBM Software Group © IBM Corporation IBM Information Server Deliver – Federation Server.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
1 Client/Server Database Tutorial. SQL Server Connection through MS Access FACBUSAD1 SQL server MS Access MGD B106 Computer or your own PC Remote SQL.
Building The Database Chapter 2
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
Database Lecture # 1 By Ubaid Ullah.
Project Implementation for COSC 5050 Distributed Database Applications Lab2.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Microsoft SQL Server 2008 Installation Guide Omer Alrwais.
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
The University of Akron Dept of Business Technology Computer Information Systems DBMS Functions 2440: 180 Database Concepts Instructor: Enoch E. Damson.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
CIS 270—Application Development II Chapter 25—Accessing Databases with JDBC.
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining 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.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
The Relational Model UC Berkeley Extension Copyright © 2008 Patrick McDermott.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Ch. 101 Database Management An Introduction to Databases.
PowerBuilder Online Courses - by Prasad Bodepudi Database Painter Primary & Foreign Keys Extended Attributes PowerBuilder System Tables Database Profiles.
AVCE ICT – Unit 7 - Programming Session 16 – Database and VB.
The relational model A data model (in general) : Integrated collection of concepts for describing data (data requirements). Relational model was introduced.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Constraints Lesson 8. Skills Matrix Constraints Domain Integrity: A domain refers to a column in a table. Domain integrity includes data types, rules,
PHP Programming. Topics Database Handling (MySQL, MSSQL, ODBC)
What is MySQL? MySQL is a relational database management system (RDBMS) based on SQL (Structured Query Language). First released in January, Many.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Logical Database Design and Relation Data Model Muhammad Nasir
COMPREHENSIVE Access Tutorial 1 Creating a Database.
1 Microsoft Access 2002 Tutorial 2 – Creating And Maintaining A Database.
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
How To Start a SQL server Connecting to SQL Server.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Logical Database Design and the Rational Model
, MS-Access, QBE, Access/Oracle
W04 Connecting 3rd Party Application to ODBC
Databases and Information Management
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
Databases and Information Management
Microsoft Office Access 2003
Databases and Information Management
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

Databases and Connectivity MIS 497

Relational Databases Dominant database technology today. Dominant database technology today. Stores data in relational format in the form of tables: Stores data in relational format in the form of tables: –Data are organized in the form of tables with rows and columns –Powerful manipulations (using the SQL language) are used to manipulate data stored in the tables. –Facilities are included to specify business rules that maintain integrity of data when they are manipulated.

Most popular products Oracle (Oracle Corp) Oracle (Oracle Corp) DB2 (IBM) DB2 (IBM) SQL Server (Microsoft) SQL Server (Microsoft) Adaptive Server IQ (Sybase) Adaptive Server IQ (Sybase) Informix products (Dynamic Server, Red Brick) Informix products (Dynamic Server, Red Brick) Teradata (NCR Corp.) Teradata (NCR Corp.)

Tables Table is a named two-dimensional array of data. Each table consists of a set of named columns and an arbitrary number of unnamed rows. Table is a named two-dimensional array of data. Each table consists of a set of named columns and an arbitrary number of unnamed rows. Table properties: Table properties: 1.Each table in a database has a unique name 2.An entry at the intersection of each row and column is atomic (or single- valued). There can be no multi-valued attributes in a table 3.Each row is unique; no two rows in a table are identical 4.Each attribute (or column) within a table has a unique name. 5.The sequence of columns (left to right) is insignificant. The columns of a table can be interchanged without changing the meaning or use of a table. 6.The sequence of rows (top to bottom) is insignificant. As with columns, the rows of a table may be interchanged or stored in any sequence.

Tables (continued)

Relational Keys A primary key is an attribute (or combination of attributes) that uniquely identifies each row in a table. A primary key is an attribute (or combination of attributes) that uniquely identifies each row in a table. A composite key is a primary key that consists of more than one attribute. A composite key is a primary key that consists of more than one attribute. A foreign key is an attribute (possibly composite) in a table of a database that serves as a primary key of another table in the same database. A foreign key is an attribute (possibly composite) in a table of a database that serves as a primary key of another table in the same database.

Connectivity To use a database, one must connect to it. To use a database, one must connect to it. ODBC – Open Database Connectivity, de- facto connectivity standard created by Microsoft. ODBC – Open Database Connectivity, de- facto connectivity standard created by Microsoft. We’ll use ODBC to connect to our databases. We’ll use ODBC to connect to our databases.

ODBC

DSN Data Source Name – stores information on how to connect to the indicated data provider. Data Source Name – stores information on how to connect to the indicated data provider. To connect one must know location and type of the data provider and have appropriate logon credentials (login and password). To connect one must know location and type of the data provider and have appropriate logon credentials (login and password).

Database Security Unauthorized users must be prevented from accessing information. Unauthorized users must be prevented from accessing information. Databases have User Management tools. Databases have User Management tools. Each project group in the class will be assigned a unique user ID and password to access their Metadata and Data Warehouse databases. Each project group in the class will be assigned a unique user ID and password to access their Metadata and Data Warehouse databases.

Resources Used Modern Database Management – Fifth Edition, Fred R. McFadden and others, Addison-Wesley Modern Database Management – Fifth Edition, Fred R. McFadden and others, Addison-Wesley 1999.

Workshop

Creating DSNs for the project First we’ll create a DSN to connect to our Data Warehouse First we’ll create a DSN to connect to our Data Warehouse Go to Go to Start  Control Panel  Data Sources (ODBC)  System DSN. Start  Control Panel  Data Sources (ODBC)  System DSN. Select Add Select Add Scroll down, select SQL Server and click Finish Scroll down, select SQL Server and click Finish

Creating DSNs for the project Complete the fields as laid out below: Name VMALL_WH Description VMALL Data Warehouse Server ADA

Creating DSNs for the project Make sure that you are using SQL Server authentication mode. Make sure that you are using SQL Server authentication mode. Enter the name of your group as your login and the password that was assigned to you. Enter the name of your group as your login and the password that was assigned to you. Click Next Click Next

Creating DSNs for the project Ensure that VMALL_WH is your default database and click Next Ensure that VMALL_WH is your default database and click Next

Creating DSNs for the project Click Finish and then Test Your Data Source Click Finish and then Test Your Data Source If you see the following screen then your DSN is created! If you see the following screen then your DSN is created! Click OK couple of times Click OK couple of times

Creating DSNs for the project Now follow the same procedure to create a DSN for connection to your Metadata database according to the following information: Now follow the same procedure to create a DSN for connection to your Metadata database according to the following information: DSN Name:YourGroupName_MD (I.e. Group3_MD) Server:ADA Login:YourGroupName Password:Use the one assigned to you by Dr. Sauter Default DB:YourGroupName

Using DSNs for the project All changes to your project will be stored in the SQL Server database on ADA. You’ll be able to access your project using MicroStrategy Desktop from any machine in the MIS Lab. Most probably that machine will already have your DW DSN and even your metadata DSN if you worked on that machine before. However, if they are not there, you should create them manually (it takes less than a minute for each of them). All changes to your project will be stored in the SQL Server database on ADA. You’ll be able to access your project using MicroStrategy Desktop from any machine in the MIS Lab. Most probably that machine will already have your DW DSN and even your metadata DSN if you worked on that machine before. However, if they are not there, you should create them manually (it takes less than a minute for each of them).