Lesson 7 Managing Data Creating a database with Web Matrix.

Slides:



Advertisements
Similar presentations
Microsoft ® Office Access ® 2007 Training Build a database II: Create tables for a new Access database GPC presents:
Advertisements

Microsoft Access.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Day 3 - Basics of MySQL What is MySQL What is MySQL How to make basic tables How to make basic tables Simple MySQL commands. Simple MySQL commands.
Access Lesson 2 Creating a Database
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Module 4: Creating Data Types and Tables. Overview Creating Data Types Creating Tables Generating Column Values Generating Scripts.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
Access Tutorial 1 Creating a Database
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Data type – determines the type of data and range of values that can be entered in a field.
Access Lesson 2 Creating a Database
If This Bar Is Light Blue – It Is Info That You Should Read! Helpful Hint There Will Often Be A Colored Title Bar At The Top Of A Slide.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Module 3: Creating Data Types and Tables. Overview Working with Data Types Working with Tables Generating Column Values Generating Scripts.
Lesson 12 Adding Validation To The Movie Database.
® Microsoft Office 2013 Access Creating a Database.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
Data Types Lesson 4. Skills Matrix Table A table stores your data. Tables are relational in that they are organized as rows and columns (a matrix). Each.
Advanced Web 2012 Lecture 3 Sean Costain What is a Database? Sean Costain 2012 A database is a structured way of dealing with structured information.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
MySQL Importing and creating a database. CSV (Comma Separated Values) file CSV = Comma Separated Values – they are simple text files containing data which.
Planning & Creating a Database By Ms. Naira Microsoft Access.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Introduction to MySQL Ullman Chapter 4. Introduction MySQL most popular open-source database application Is commonly used with PHP We will learn basics.
Microsoft Access Prepared by the Academic Faculty Members of IT.
Ch 3. Working with Tables and Views. Data type Specify type of data to be entered into a column (text, number, datetime, etc) Unicode (National) Datatypes.
Build a database II: Create tables for a new Access database Create your tables In a relational database, tables store your data. Your data doesn’t “live”
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Creating E/R Diagrams with SQL Server Management Studio, Writing SQL Queries D0ncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer.
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
Notes: **A Row is considered one Record. **A Column is a Field. A Database is…  an organized set of stored information usually on one topic  a collection.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
Creating Database Objects
Access Tutorial 2 Building a Database and Defining Table Relationships
Databases and SQL Designing a database with tables and primary keys
Managing Tables, Data Integrity, Constraints by Adrienne Watt
Data Definition and Data Types
Module 2: Creating Data Types and Tables
Microsoft Access 2007 – Level 1
Access Tutorial 1 Creating a Database
Unit 16 – Database Systems
Data Definition and Data Types
Attributes and Domains
Access Creating a Database
Access Creating a Database
Introduction to Computer Science (CIS 101)
Access Tutorial 1 Creating a Database
Access Lesson 2 Creating a Database
Access Lesson 2 Creating a Database
Access
CIS16 Application Programming with Visual Basic
PT2520 Unit 5: Physical Design
Adding Record To Your Database
Attributes and Domains
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 1 Creating a Database
ICT Database Lesson 2 Designing a Database.
Access Tutorial 1 Creating a Database
Working with your database
Creating Database Objects
Lecture 2 Lecturer: awdang aziz MS access
Data Base.
Presentation transcript:

Lesson 7 Managing Data Creating a database with Web Matrix

Connecting to a Database Steps to connect to a Database in Web Matrix 1. Click on Data explorer which is located on the right of your screen. 2. Click on New Connection

Connect to Database Your Server name by default is localhost You will now click on Create a new database

Name your database Type Movies as the name of your database Notice on the data explorer, you’re connected to the Movies database

Creating Tables Click on Tables Click on new item

Type JamesBondSeries for your Table Name Naming your Table Type JamesBondSeries for your Table Name

Creating Field Names You’re screen should like this one….

Quick lesson on DataTypes Web Matrix allows you to capture Text Numbers Dates

Description of Data Types used for Text Type of data Name Description Text Char Nchar Default=50 characters Nchar stores as Unicode 16bit VarChar NVarChar Default=50 characters NVarChar stores as 16bit Text NText Stores as pages 8KB NText stores as 16bit

Description of Data Types used for Numbers Type of data Data Type Name Description Numbers Int - 2 billion to + 2 billion Small Int -32,768 to +32,767 Tiny Int 0 to 255 Big Int Stores 1 billion times larger than Int

Description of Data Types used for Numbers Type of data Data Type Name Description Numbers Bit 0 or 1 True/False Yes/No Float Real Not whole numbers Decimal Numbers with fractional parts Money Small Money Monetary values

Description of Data Types used for Date & Times Type of data Data Type Name Description Dates & Times DateTime 1/1/1753-12/31/9999 SmallDateTime 1/1/1900-6/6/2079

Enter Field names to Table In the Column properties name, type ID For data type select Int Click the following: Required; Primary key and Auto Increment Click New when finished

More field names Select Column 2 Change name to MovieName Change data type to char Change Field size to 20 Click New when finished Select Column 3 Change name to Actor Change data type to char Change Field size to 20 Click New when finished

More field names Select Column 4 Change name to Actress Change data type to char Change Field size to 20 Click New when finished Select Column 5 Change name to Director Change data type to char Change Field size to 20 Click New when finished

More field names Select Column 6 Change name to Release date Change data type to Date Click New when finished Select Column 7 Change name to Rating Change data type to Int Click New when finished

More field names Select Column 8 Change name to MPAA Change data type to char Click New when finished Select Column 9 Change name to RunTime Change data type to Int Click OK when finished

Entering records into your database Click on Table Double Click on JamesBondSeries You’re ready to add records

Entering records Enter the following records: Press tab to move to next field/column More to enter on next slide

Finish entering record