IT:Network:Applications.  “Business runs on databases…” ◦ Understatement!  Requirements  Installation  Creating Databases  SIMPLE query ◦ Just enough.

Slides:



Advertisements
Similar presentations
CC SQL Utilities.
Advertisements

Presentation Heading – font Arial
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.
Database Design -- Basic SQL
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.
ENVELOC GENERAL CONFIGURATION DEMO Contact Information Billing Information Backup Time Days to Backup Backup Selections Files to Exclude Wireback (Archive)
Action Queries CS 320. Review: SQL Command Types  Data Definition Language (DDL)  Used to create and modify database objects  Data Manipulation Language.
DT211 Stage 2 Databases Lab 1. Get to know SQL Server SQL server has 2 parts: –A client, running on your machine, in the lab. You access the 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.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
 Pages made using data in a database  Use scripting languages  Use of RDMS  Look and feel by templates, CSS  High scaling  Admin pages as back end.
Copyright ©2014 Pearson Education, Inc. Chapter 6 Physical Design Chapter6.1.
Overview What is SQL Server? Creating databases Administration Security Backup.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
IT:Network:Applications Fall  Running one “machine” inside another “machine”  OS in Virtual machines sees ◦ CPU(s) ◦ Memory ◦ Disk ◦ USB ◦ etc.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
Copyright © Curt Hill SQL The Data Definition Language.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 13 Managing Databases with SQL Server 2000.
Overview of SQL Server Alka Arora.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
ASP.NET Programming with C# and SQL Server First Edition
Microsoft SQL Server 2008 Installation Guide Omer Alrwais.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
Lecture Note 9: Introduction to the MS Access
Chapter 7 SQL HUANG XUEHUA. SQL SQL server2005 introduction Install components  management studio.
1 Working with MS SQL Server Textbook Chapter 14.
Attributes in ArcGIS. ArcGIS Attributes FID – ESRI’s internal identifier Shape – Actual spatial data.
6 th Annual Focus Users’ Conference Manage Integrations Presented by: Mike Morris.
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.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
Microsoft SQL Server 2008 R2 IT:Network:Applications.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Week 8-9 SQL-1. SQL Components: DDL, DCL, & DML SQL is a very large and powerful language, but every type of SQL statement falls within one of three main.
©Silberschatz, Korth and Sudarshan1 Structured Query Language (SQL) Data Definition Language Domains Integrity Constraints.
1 CS 430 Database Theory Winter 2005 Lecture 11: SQL DDL.
Backing Up and Restoring Databases by Using the SQL Server 2000.
SQL server Section 2&3. What are Data Types Character Data Types Number Data Types Date and Time Data Types CAST and CONVERT functions TRY_PARSE and TRY_CONVERT.
NR 322: Editing Attributes Jim Graham Fall 2008 Chapter 6.
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
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.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Creating E/R Diagrams with SQL Server Management Studio, Writing SQL Queries D0ncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer.
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
Standards and Conventions
Get your Oracle data into SQL Server faster!
SQL Database Management
3 A Guide to MySQL.
DB Programming – Basic analysis
Module 2: Creating Data Types and Tables
Practical Office 2007 Chapter 10
Data Definition and Data Types
Part 1 of 2 Creating SQL Database and Binding to GridView
ORACLE SQL Developer & SQLPLUS Statements
SQL OVERVIEW DEFINING A SCHEMA
CIS16 Application Programming with Visual Basic
SQL-1 Week 8-9.
Microsoft SQL Server Upgrade and Downgrade scenarios
Creating a simple query in the Design View
Ch 10. Maintaining and Automating SQL Server
SQL (Structured Query Language)
CS4540 Special Topics in Web Development SQL and MS SQL
Presentation transcript:

IT:Network:Applications

 “Business runs on databases…” ◦ Understatement!  Requirements  Installation  Creating Databases  SIMPLE query ◦ Just enough to ensure its there  Hand-off to DBA

 OS: 7, Server 2003, Server 2008  32- and 64-bit  IIS needed for reporting .Net 2.0 or later (ASP.net)

 Run ‘splash.hta’ from CD  Select Platform  Install ‘Server components…’  System check runs – ensures proper environment

 Components ◦ SQL DB Services ◦ Analysis Services (Online Analytic Processing (OLAP) and data-mining) ◦ Reporting Services ◦ Notification Services (Send reports in “timely” fashion) ◦ Integration (talk to other db)  Select basics and fine-tune via Advanced

 “default” is first SQL server on this box  If need more SQL servers (virtual hosts), use “Named Instance”  Use system account or use domain account ◦ domain must be “old-style” (YOURDOMAIN) not DNS-style (YOURDOMAIN.local)  Reboot when done!

 Database ◦ “Unit of Knowledge”  Table ◦ Sub-component of Database ◦ “Unit of Storage”  Database may be multiple tables ◦ Database for NWTC  Table for Students  Table for Programs  One field in Students “points” to correct record in Programs

 SQL Server Management Studio  R-Click on Databases > New Database ◦ Give it a name  Now need tables and data ◦ Could create them in similar fashion to above ◦ Import data from a “flat” database (CSV,txt)

 LOOK AT FILES FIRST ◦ Does data make sense? ◦ What fields do we have? ◦ What data types will we use?  string, integer, real number, money,… ◦ Anything in there we don’t need?

 R-Click on your database > Tasks > Import Data  Data source will be Flat File Source ◦ Pick file  Will show you what it read ◦ Did it read it right? ◦ Watch embedded commas in data ◦ Watch quoting  Select destination (accept defaults)

 On “Select Source Table and Views” edit your mapping ◦ Specify field name and data type  string = varchar[n] (Variable Character non-unicode)  integer = int, smallint, bigint  decimal = float, real  $$ = money, smallmoney  Dates = datetime  Set Field name to “ignore” for fields we don’t need

 Table needs one field that uniquely identifies a particular record  Must not be null!  If needed, add field, set to “int” or “bigint” ◦ Mark as NOT allow Null ◦ Set as Identity Column

 BACKUP DATABASE CustomerDB TO DISK = ‘C:\Backups\CustDB.BAK’  or  In SQL Server Mgmt Studio ◦ Rclick on Database > Tasks > Backup ◦ Delete “default” backup destination and Add new one

 SQL Server Mgmt Studio  R-Click on DATABASES (or your DB) ◦ Restore DB ◦ Specify DB to restore to & Specify source (our file) ◦ Click box to restore this set ◦ OPTIONS!  or  RESTORE DATABASE CustomerDB  FROM DISK = ‘C:\Backups\CustDB.BAK’

 In Mgmt Studio  Configure backup as before  Script menu > Script Action to Job ◦ Left-side, select “steps” then Edit  Make sure job is correct ◦ Left-side, select “schedules” then New  Give name, pick schedule, Ok