Course Goals Introduce Terms Skills –Modern DBMS (SQL Server 2008) –SQL querying and data access –Stored procedures including parameters –Brief introduction.

Slides:



Advertisements
Similar presentations
Chapter 2.7 Data management.
Advertisements

Toolbox Mirror -Overview Effective Distributed Learning.
Introduction to Databases
91.309/310 Database I & II Prof. Cindy Chen. What is a database? A database is a very large, integrated collection of data. A database management system.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Ch1: File Systems and Databases Hachim Haddouti
BUSINESS DRIVEN TECHNOLOGY
Definition of terms Definition of terms Explain business conditions driving distributed databases Explain business conditions driving distributed databases.
Chapter 1 Introduction to Databases
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
An Introduction to Database Management Systems R. Nakatsu.
Introduction to Database
Database Systems: Design, Implementation, and Management Ninth Edition
1 Chapter Overview Creating a User Database Setting Database Options Managing User Database Size Placing Database Files on Multiple Disks.
1 Intro to Info Tech Database Management Systems Copyright 2003 by Janson Industries This presentation can be viewed on line at:
Introduction. 
Module Title? DBMS Introduction to Database Management System.
Overview of Transaction Processing and Enterprise Resource Planning Systems Chapter 2.
Course Introduction Introduction to Databases Instructor: Joe Bockhorst University of Wisconsin - Milwaukee.
Chapter 1 Introduction to Databases Pearson Education ©
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
1 SQL Server 2000 Administration Kashef Mughal MSB.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Database Design Part of the design process is deciding how data will be stored in the system –Conventional files (sequential, indexed,..) –Databases (database.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
File Systems and Databases Lecture 1. Files and Databases File: A collection of records or documents dealing with one organization, person, area or subject.
Storing Organizational Information - Databases
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter 1 Introduction to Databases Transparencies Last Updated: Pebruari 2010 By M. Arief Updated by RSO Feb 2011
Chapter 1 Introduction to Databases. 1-2 Chapter Outline   Common uses of database systems   Meaning of basic terms   Database Applications  
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
Introduction to Databases
FILES AND DATABASES. A FILE is a collection of records with similar characteristics, e.g: A Sales Ledger Stock Records A Price List Customer Records Files.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Introduction.  Administration  Simple DBMS  CMPT 454 Topics John Edgar2.
IT System Administration Lesson 3 Dr Jeffrey A Robinson.
IMS 4212 Lab: Lab Introduction 1 Dr. Lawrence West, MIS Dept., University of Central Florida Subject—Topics Installing.
Database technology Introduction ER Modeling Database objects (intro) SQL.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
King saud university Introduction to Database Systems (Chapter 1: Databases and Database Users)
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Data The fact and figures that can be recorded in system and that have some special meaning assigned to it. Eg- Data of a customer like name, telephone.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
ASET 1 Amity School of Engineering & Technology B. Tech. (CSE/IT), III Semester Database Management Systems Jitendra Rajpurohit.
Chapter 1: Introduction. 1.2 Database Management System (DBMS) DBMS contains information about a particular enterprise Collection of interrelated data.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Database System Concepts, 5th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 1: Introduction.
Introduction to Databases
Introduction To DBMS.
Lecture 1 Introduction to Database
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 6 - Database Implementation and Use
CS422 Principles of Database Systems Course Overview
Information Systems Today: Managing in the Digital World
Introduction to Databases
TEMPDB – INTERNALS AND USAGE
Lecture 1 File Systems and Databases.
Introduction to Databases
Chapter 11 Managing Databases with SQL Server 2000
The Database Environment
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Presentation transcript:

Course Goals Introduce Terms Skills –Modern DBMS (SQL Server 2008) –SQL querying and data access –Stored procedures including parameters –Brief introduction to using code to interact with dbms

Information Resource Management What is a Database? Database vs. DBMS What are the Advantages of the Database Approach?

Retail Sales with Computer System and Bar Codes “What Happens when you bar-code a can of beans at Walmart? Initial Goal: improve speed & accuracy of checkout –Wipe barcodes to get product ID –Look up price –Calculate total amount

But with this information, we can do much more Reduce Errors –Happier customers Less skilled checkout people –No need to type #s or memorize prices Can change prices much faster Checkout efficiency –Credit Check –How fast people working Automatic Inventory Control –JustInTime Wholesale ordering – fedex option –Reduced inventory costs –Tax calculations for inventory Automatic Floor space v. sales calculations

What Business Functions Represented by This Function? Sales and Marketing Logistics Operations Human Recourses Management Accounting

Information Systems Management Data –Raw facts Information –Processed to be useful to particular users

What is a Database? A database is a shared collection of logically related data to help multiple particular users solve multiple particular problems, possibly in the future, and as yet unknown A database management system (DBMS) is a tool to access a database

Vision Database that contains ALL corporate data

Hard to achieve in practice Department DBs already exist –Older non-homogeneous software Even if not, have to start at department level to keep tractable Many often unwilling to start over –Ego & $$ Different data organization and data dictionary –E.g. how to store a name Extra work for some departments so other departments can do their job better –Turf wars

Function of CIO Operations Management –Scheduling, Capacity planning, Operations security, Disaster recovery Quality Assurance Communications Management –Local/Wide area, Long haul Data Resources Management –Data analysis, Database design, Data administration, Database Administration Project Management Corporate-Wide IS planning Information Center Systems development and Maintenance

Centralized Database All data at a single site –Personal computer –Central Corporate database (big iron) –Client/Server on network

DB Analysts and DB administration have to understand how organization works DB analyst a good path to becoming a CIO Requires both solid business AND technical skills including coding and complex query writing.

SQL Server Basics (Chapter 1) Overview of Database Objects –Database itself –Transaction log –Tables –Filegroups –Diagrams –Views

Overview of Database Objects Indexes Assemblies Reports Full-text Catalogs User-defined data types –e.g. ‘zip code’ instead of char(9) Roles Users

Four System Databases Master –Contains meta data about other databases including user-defined databases Model –Template for creating of user-defined DBs Tempdb –Working area for server Don’t touch any of these

MS Sample Databases AdventureWorksDW Pubs Northwinds We will use pubs and northwind as examples in this class

Transaction Log Transaction is a set of operations that must happen together (more on this later in the course) Actions first written to transaction log. When that is complete, operations applied to database. Rollback and data recovery

Objects within a Particular DB Table Index –Clustered and non clustered Triggers Constraints Filegroups –All tables default to single file, but can be changed to multiple files, disks, RAIDS, etc

Objects within a Particular DB Diagrams (page 9) –Diagram to DB –DB to diagram (!!!) –Views Hard to update –Stored procedures (e.g. subs w/ parameters) –User-defined functions –Users and Roles –Rules –Defaults –User-defined data types –Full-text (images?)

SQL server data types See table page 12 Note –Varchar –Nvarchar –Unique identifier –Conversion matrix

NULLS (page 17) Means ‘don’t know’ but might also mean ‘not applicable’ – no way for others to tell Nulls are BAD Poor DB design sometimes leads to nulls! –If your database design requires nulls you are doing something wrong

NAMES To know something’s true name is to be able to control it (once and future king) Everything in sql server has a name (pg 17) SQL server naming rules (pg 18) My naming rules –Relations are plural –Attributes are generally singular –All lowercase –No SPACES!!! Or underscores (innercap)