Arctic Network SQL Server Data Analysis Using Microsoft Access



Similar documents
This document explains how to make a child copy of a master SQL Server database for disconnected use on a tablet PC.

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

MicroStrategy Desktop

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

Microsoft Corporation. Project Server 2010 Installation Guide

GETTING STARTED WITH SQL SERVER

Video Administration Backup and Restore Procedures

Table of Contents SQL Server Option

Analytics Canvas Tutorial: Cleaning Website Referral Traffic Data. N m o d a l S o l u t i o n s I n c. A l l R i g h t s R e s e r v e d

MONAHRQ Installation Permissions Guide. Version 2.0.4

Create Reports Utilizing SQL Server Reporting Services and PI OLEDB. Tutorial

Idera SQL Diagnostic Manager Management Pack Guide for System Center Operations Manager. Install Guide. Idera Inc., Published: April 2013

Moving the Web Security Log Database

SQL Server Replication Guide

QUANTIFY INSTALLATION GUIDE

Before you may use any database in Limnor, you need to create a database connection for it. Select Project menu, select Databases:

User Setup for SQL Security

Creating QBE Queries in Microsoft SQL Server

Setting Up ALERE with Client/Server Data

Print Manager Plus 2010 How to Migrate your Database to a New SQL or Print Server

Using an Access Database

Configuring Network Load Balancing with Cerberus FTP Server

Mobile device management

Visual Studio.NET Database Projects

Using SQL Server Management Studio

Guidelines for Creating Reports

You must have at least Editor access to your own mail database to run archiving.

Creating Reports with Microsoft Dynamics AX SQL Reporting Services

Avaya Contact Center Express Release 5.0 Database Deployment and Management User Guide

Exploring Microsoft Office Access Chapter 2: Relational Databases and Multi-Table Queries

SafeCom G2 Enterprise Disaster Recovery Manual

BID2WIN Workshop. Advanced Report Writing

How to schedule SQL Maintenance Plan

SharePoint List Filter Favorites Installation Instruction

DCA. Document Control & Archiving USER S GUIDE

Moving the TRITON Reporting Databases

Basic SQL Server operations

Trial version of GADD Dashboards Builder

When a variable is assigned as a Process Initialization variable its value is provided at the beginning of the process.

Monitor free disc space on a server. AdRem NetCrunch 6.x Tutorial

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

How To Create A Report In Excel

How to set up Outlook Anywhere on your home system

Tutorial. Patch Management

TheFinancialEdge. Records Guide for Accounts Payable

PULSE Dashboard Administrator Guide (Updated 2/19/15)

Distribution List Manager User s Manual

Acronis Backup & Recovery 10 Advanced Server Virtual Edition. Quick Start Guide

4cast Server Specification and Installation

Turn on or off the Out of Office Assistant

How To Integrate SAP Business Data Into SharePoint 2010 Using Business Connectivity Services And LINQ to SAP

Microsoft Office Access 2007 which I refer to as Access throughout this book

Developing Web Applications for Microsoft SQL Server Databases - What you need to know

Working with SQL Server Integration Services

This guide provides step by step instructions for using the IMF elibrary Data - My Data area. In this guide, you ll learn how to:

Scheduling Software User s Guide

Developing SQL and PL/SQL with JDeveloper

Business Insight Report Authoring Getting Started Guide

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

OnDemand. Getting Started Guide

SQL Server 2005: Report Builder

Microsoft Project Server 2010 Project Manager s Guide for Project Web App

MICROSOFT ACCESS 2003 TUTORIAL

Print Audit 6 - SQL Server 2005 Express Edition

Chapter 6. Using the SQL Server

Unity Application Suite SQL Server Database Integration

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server Jump to the Lab Overview

Reporting and Analysis Using Vivid Reports Flex

CONFIGURING TARGET ACTIVE DIRECTORY DOMAIN FOR AUDIT BY NETWRIX AUDITOR

Introduction to Microsoft Access 2003

SelectSurvey.NET Developers Manual

Crystal Reports Payroll Exercise

TSM Studio Server User Guide

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

ESET SECURE AUTHENTICATION. API SSL Certificate Replacement

Excel Dashboard. Scott Witteveen (517)

Visualization with Excel Tools and Microsoft Azure

RSA Security Analytics

MSSQL quick start guide

Installing OneStop Reporting Products

ARIZONA DEPARTMENT OF TRANSPORTATION. Presented by Lonnie D. Hendrix, P.E. Assistant State Engineer, Maintenance

Knowledgebase Article

UNICORN 6.4. Administration and Technical Manual

Project management integrated into Outlook

XMailer Reference Guide

New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

ONLINE BACKUP MANAGER MS EXCHANGE MAIL LEVEL BACKUP

NetSupport DNA Configuration of Microsoft SQL Server Express

TECHNICAL TRAINING LAB INSTRUCTIONS

RDS Online Backup Suite v5.1 Brick-Level Exchange Backup

Transcription:

Arctic Network Arctic Network Data Management Standard Operating Procedure Inventory & Monitoring Program U.S. Department of the Interior Data Management Standard Operating Procedure NPS/ARCN/DMSOP-2009-03 Exploratory Data Analysis Using SQL Server Management Studio Overview of documenting and archiving datasets Summary Arctic Network uses SQL Server as an enterprise database for storage and retrieval of monitoring data. Where analysis is routine, many queries and analyses can be built into the SQL Server or any of a variety of front end applications. Exploratory data analysis, however, presents a challenge to users who are accustomed to being able to build ad-hoc queries on the fly using their preferred front end application, usually Microsoft Access. This SOP outlines the use of SQL Server Management Studio to perform ad-hoc querying of SQL Server databases. Contents Summary... 1 Contents... 1 Introduction... 1 Obtaining Microsoft SQL Server Management Studio... 1 Connecting to the Arctic Network SQL Server... 2 Viewing Tables and Views (Queries)... 3 Querying Data... 3 Should I make a query or a view?... 3 How to create a view... 4 Saving a view... 5 How to create a query... 6 Saving a query... 10 References... 10 About This Standard Operating Procedure... 10 Revision History... 10 Introduction This document describes the use of Microsoft SQL Server Management Studio Express for ad-hoc querying and data analysis. This is a get-acquainted tutorial. Readers are encouraged to use the software s documentation and internet resources for more advanced topics. Obtaining Microsoft SQL Server Management Studio Download Microsoft SQL Server Management Studio Express at no charge from the Microsoft website Page 1 of 11

(http://www.microsoft.com/downloads/details.aspx?familyid=c243a5ae-4bd1-4e3d- 94B8-5A0F62BF7796&displaylang=en). Install Microsoft SQL Server Management Studio Open the program. Connecting to the Arctic Network SQL Server Select File Connect Object Explorer Input the name of the SQL Server, select Windows Authentication if it is not already selected and press connect. Connection errors are most likely caused by insufficient privileges on the SQL Server or interrupted connectivity. Page 2 of 11

Viewing Tables and Views (Queries) The database objects of most interest to users are tables and views. Tables contain the both the structure and values of the data. Views are very similar to saved queries in a program such as Microsoft Access. Views are precompiled queries that pull data from one or more tables, but present that information as a single virtual table.` You may view table and view contents by right-clicking on them and selecting the appropriate option from the context menu. Querying Data Querying data in Microsoft SQL Server Management Studio is similar to what you would do in Microsoft Access once you gain some familiarity with a few tools. The two major tools for querying are queries and views. Should I make a query or a view? Queries and views are basically the same with one difference; a view, if saved, becomes a part of the database, a query does not. For exploratory data analysis one might think a query to be better than a view, but this is not the case for the simple reason that the view editor has a much better interface for ad-hoc data viewing. I recommend a view for Page 3 of 11

exploratory data analysis. If you are sure you will never use the view again you may simply delete it or choose not to save it. How to create a view Right click on the Views node under your database. Select the tables you would like to query The View Editor Appears. The view editor allows you to see your tables and relationships, select, order and filter columns and view the results. Page 4 of 11

Saving a view If, in the course of exploratory data analysis, you decide that you have developed a view that you would like to use again on a regular basis, then save it. Page 5 of 11

NOTE: A view you create in Microsoft SQL Server Management Studio will cascade out to any other front end applications that are linked to the database (i.e., will be available in Microsoft Access Applications as well. Below is a screenshot of a same view seen above in Microsoft SQL Server Management Studio but embedded in a Microsoft Access application. Views are available under the Queries category and may be queried or used in any way you would use a data table. They are a great way to present complex data in a simplified way. How to create a query Highlight a table in your database by clicking on it Select New Query from the toolbar A tab will appear in the main area to the right Right click in the tab and select Design Query in Editor Page 6 of 11

The query designer appears Page 7 of 11

The query designer allows you to select the tables you want to query. The interface is very similar to what you would see in Microsoft Access. Select your tables. Use the query designer to build the query and press OK Page 8 of 11

The query is loaded into the SQL tab. Click Execute The data appears in the grid below. Page 9 of 11

Saving a query Queries are saved as text files with.sql extension. Select File Save As References About This Standard Operating Procedure Version: 1.0 Status: Draft Publication Date: February 11, 2009 Author(s): Scott D. Miller, Data Manager, Arctic Network Inventory & Monitoring Program. Abstract: Arctic Network uses SQL Server as an enterprise database for storage and retrieval of monitoring data. Where analysis is routine, many queries and analyses can be built into the SQL Server or any of a variety of front end applications. Exploratory data Suggested Citation: NPS-ARCN (2007).Exploratory Data Analysis Using SQL Server Management Studio Version 1.0, Arctic Network-Inventory and Monitoring Program, National Park Service. Fairbanks, Alaska. Revision History Version Version Date Revised By Changes 1.0 20090129 S. Miller Original This table reflects changes to this document. Version numbers will be incremented by one (e.g., Version 1.3 to Version 2.0) each time there is a significant change in the Page 10 of 11

process and/or changes are made that affect the interpretation of the data. Version numbers will be incremented after the decimal (e.g., Version 1.6 to Version 1.7 1.10.1.21) when there are changes to grammar, spelling, or formatting, or minor modifications in the process that do not affect the interpretation of data. Page 11 of 11