Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

Importing Data from a Spreadsheet that contains Phone Numbers, ZIP Codes and other similar string data that looks like a number If you came to this presentation.
AS ICT Finding your way round MS-Access The Home Ribbon This ribbon is automatically displayed when MS-Access is started and when existing tables.
Importing and linking through Access Please use speaker notes for additional information!
Access 2007 ® Use Databases How can Microsoft Access 2007 help you to get and stay organized?
Benchmark Series Microsoft Access 2010 Level 1
Chapter 5 Multitable Forms
Entering Data in Tables in a Supertype/Subtype Relationship*
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Microsoft Excel 2010 Chapter 7
Mortensen Electronic Reserves with Blackboard Pilot Process and Technical Overview.
Mary K. Olson PS Reporting Instance – Query Tool 101.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Chapter 2 Querying a Database
Creating an ERD in SQL Server If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or.
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Access Tutorial 2 Building a Database and Defining Table Relationships
Chapter 1 Databases and Database Objects: An Introduction
Creating a New Database If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or press.
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
Creating a Web Site to Gather Data and Conduct Research.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Relational Databases (MS Access)
Key Applications Module Lesson 21 — Access Essentials
CIS 338: Using Queries in Access as a RecordSource Dr. Ralph D. Westfall May, 2011.
Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
XP New Perspectives on Windows 2000 Professional Windows 2000 Tutorial 2 1 Microsoft Windows 2000 Professional Tutorial 2 – Working With Files.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Actions Queries. Understanding Action Queries  Action queries are a way to make corrections to database. They can make an enormous mess of database if.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Creating an Application System Using Macros, Wizards, and the Switchboard.
Security Considerations Steve Perry
ECDL. Word processing Work with documents and save them in different file formats Choose built-in options such as the Help function to enhance productivity.
Entering Data in One of the Independent Entity Tables and the Associative Entity Table of a M:M Relationship* If you came to this presentation via a web.
Creating an Access Project* If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or.
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Normalizing Database Files Professor Ralph Westfall May, 2011.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Importing Data from a Spreadsheet that contains Phone Numbers, ZIP Codes and other similar string data that looks like a number If you came to this presentation.
Creating a New Database If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or press.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
شعار الشركة Ms SQL Server 2008 Express Edition. SQL Server Management Studio 2008 When we open the SQL server management studio this window are seen:
Creating Functions If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or press space.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Backup Tables in SQL Server. Backup table method Cape_Codd database is used in this example 1.Righ click the database that contains the table you want.
Creating Functions This presentation was prepared by Professor Steve Ross, with the advice of other MIS Faculty, for use in MIS Classes at Western Washington.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Unit 9 Seminar. Starting Reporting Services Reporting Service Started.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Presentation 4 Creating Databases Part III (Creating Reports)
Tracking Field Placements and Student Data with Microsoft Access
Creating an ERD in SQL Server
Prepare data for importing
Database application MySQL Database and PhpMyAdmin
Current outstanding balance
Creating a New Database
Normalizing an Existing Table
Microsoft Windows 2000 Professional
Sirena Hardy HRMS Trainer
Chapter 18 Finalizing a Database.
Presentation transcript:

Importing Data from a Spreadsheet If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or press space bar to continue. This presentation was prepared by Professor Steve Ross, with the advice of other MIS Faculty, for use in MIS Classes at Western Washington University. Please contact Dr. Ross for permission to use in other settings..Dr. Ross The Sister Cities Database Development Project

Introductory Slides If you are reading this slide, by this time you should have successfully … 1.Analyzed the original spreadsheet data, 2.Modified the data, and 3.Imported the data into a database table created by the import wizard. Now you are ready for the final steps 4.Design the final, permanent table 5.Transform that table into the final table 6.Verify the results. Original Data  Modified Data  “Import” Table  “Final” Table Convert

Creating the perfect home for your data These slides introduce a basic approach to transform the imported table and its data into the final table. We will use SQL Server Management Studio’s GUI tools to modify the design of the new tables. Before that, however, we need to: –Backup up the table (in case something goes wrong) –Analyze the datatypes and the size of the data.

Make a Backup Copy of the Imported Table Right-click on the table  Script Table as … (etc. as illustrated) Add “BACKUP” to the name of the new table  run the script

Estimate the size of each Field (1) Estimate the size required for each field to comfortably hold all data without being so large that it is wasteful. Right-click import table name, Choose Select Top 1000 Rows

Estimate the size of each Field (2) Modify the SELECT query … a.Remove “TOP 1000” b.Add functions to determine maximum length of strings and maximum value of numbers: SELECT MAX(LEN([LastName])) AS [LastName],MAX(LEN([FirstName])) AS [FirstName],MAX(LEN([MidName])) AS [MidName],MAX([AnnualPay1000]) AS [AnnualPay1000],MAX(LEN([DepartmentName])) AS [DepartmentName],MAX(LEN([Rank])) AS [Rank],MAX([BudgetAuthorityIn1000]) AS [BudgetAuthorityIn1000],MAX([PersonalStaff]) AS [PersonalStaff],MAX(LEN([MailCode])) AS [MailCode] FROM [createdbexample].[dbo].[WorkersTab]

Estimate the size of each Field (3)

Modify the Table Rt-click on the table Select “Design” Change the Data Type (then the size, such as 25) of the attributes, as needed.

There be “Warnings” Because the field sizes have been changed, the wizard is warning that some data may be lost. Click “Yes”, then check your data (next slide).

Verify the Results  Inspect the table (right-click table name, choose Select Top 1000 Rows)  Data in expected columns  Numeric data format, ensure no loss  Character data, check for truncation