Unit 5 Microsoft SQL Server and MySQL. Key Concepts DBMS variations SQL Server features SQL Server Management Studio MySQL features Scripts Queries Database.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
Using Macros and Visual Basic for Applications (VBA) with Excel
Microsoft Office 2007 Excel Web Feature Creating Web Pages Using Excel.
Microsoft Office 2007 Microsoft Excel Collaboration Feature Using SharePoint and Excel Services.
Access Lesson 2 Creating a Database
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Integrating Access with the Web and with Other Programs.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Laboratory 1: Introduction to Relational.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
Concepts of Database Management Sixth Edition
Office XP Introductory Concepts and Techniques Windows XP Edition M i c r o s o f t Windows XP Project An Introduction to Windows XP Professional and Office.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Microsoft Visual Basic 2005 CHAPTER 12 Cell Phone Applications and Web Services.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Project 3 File, Document, Folder Management, Windows XP Explorer Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
Working with Queries in Microsoft Access The Access Workbench: Section Three DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
Concepts of Database Management Seventh Edition
Chapter 1 Databases and Database Objects: An Introduction
Creating a Web Site to Gather Data and Conduct Research.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Integration Feature Object Linking and Embedding (OLE) and Web Discussions.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Program Design and Coding
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Microsoft Visual Basic 2010 CHAPTER THREE Program Design and Coding.
Automating Database Processing
Key Applications Module Lesson 21 — Access Essentials
Concepts of Database Management Seventh Edition
® Microsoft Office 2013 Access Creating a Database.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
JDBC Tutorial CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
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.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 25.1 Test-Driving the ATM Application 25.2.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
MySQL Quick Guide. Start and End MySQL MySQL is installed as a service. To start MySQL: –Control Panel/Administrative Tools/Services/MySQL/ start MySQL.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page
®® Microsoft Windows 7 Windows Tutorial 2 Organizing Your Files.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
1 Access Lesson 1 Understanding Access Fundamentals Microsoft Office 2010 Fundamentals Story / Walls.
Creating SQL Database file And Displaying a Database Table in a DataGridView.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
SQL MODELER - OPEN There are Three Ways to open the SQL Modeler
Creating and Using a Database
8 6 MySQL Special Topics A Guide to MySQL.
Presentation transcript:

Unit 5 Microsoft SQL Server and MySQL

Key Concepts DBMS variations SQL Server features SQL Server Management Studio MySQL features Scripts Queries Database creation

Management Studio The Object Explorer shows SQL Server 2005 objects and the folders that are used to contain and organize those objects The Summary tabbed window displays the objects within the object selected in the Object Explorer window The System Databases folder contains database objects for the databases automatically created by SQL Server 2005 The Databases folder is selected in the Object Explorer window, so the Summary window shows the contents of Databases The Art_Course_Database datbase object holds the database named Art_Course_Database

Create Database Click New Database to create a new database Right-click Databases to display the shortcut menu

Create Database (cont'd) Click the OK button to create the new database Type the new database name here

Create Database (cont'd) The WPC database object is displayed in the Summary window showing the folder structure that will contain the database objects The WPC database object in the Object Explorer expanded to show the folder structure that will be used to contain the database objects

Scripts This is the Microsoft Notepad text editor—the file name is DBC-e03- MSSQL-WPC-Create-Tables.sql The SQL keyword Name is enclosed in brackets as [Name] The lines that start with /* are comments—any text between the /* and the */ characters on a line is a comment and ignored by the DBMS when it runs the SQL

Script Execution You have to specify which database is being used when the script is run—select WPC from the drop down list before executing the script Click the Execute button in the SQL Editor toolbar to run the script The tabbed script window with the open script displayed—to close this window after the script is run click the X symbol to the right of this tab

Script Results The objects representing the tables created by the script are shown in the expanded Tables folder—dbo stands for database owner Messages are shown here— either that the commands were successful or appropriate error messages

Query Window Click the New Query button in the Standard toolbar to open the query window and display the MySQL Editor toolbar Select the database that you want to query by clicking the database name to select the database The selected (active) database name appears in the SQL Editor toolbar Type your SQL query into this tabbed window

Sample Query The tabbed Results window—you can adjust window boundaries and column widths using standard Windows drag- and-drop techniques The SQL query—the asterisk after.sql on the window tab means the text has been changed but not saved

Launching Query Browser Type the root user’s password here, then click the OK button

Query Browser The SQL query text box in the MySQL Query Browser Query Toolbar—type SQL queries in this area The ResultSet window—the results of a query are displayed here The Schemata pane—the default schema can be selected from the available database schemas

Create Database (Schema) Click Create New Schema to create a new database Right-click anywhere in the Schemata pane to display the shortcut menu

New Schema Dialog Click the OK button to create the new database Type the new database (“schema”) name here

Creating a Script This is the Microsoft Notepad text editor—the file name is DBC-e03- MySQL-WPC-Create-Tables.sql

Open Script The Script 1 tabbed window with the open script displayed—to close this window after the script is run click the X symbol on this tab Click the Execute button to run the script After the script is run, expand the WPC schema object to see the tables created by the script

Scripted Query Results This is the MySQL Query Browser Query Toolbar— enter your SQL statement into this text box and then click the Execute button to the right to run the query Query results are shown in the Resultset window— you can use standard Windows drag and drop techniques to change the column widths to adjust the results display

Additional Results Use the File | New Resultset Tab command to open an additional tabbed Results window—you can have multiple Results and Script windows open at the same time