Using SAS as a Relational Database



Similar documents
Define ODBC Database Library using Management Console

CHAPTER 1 Overview of SAS/ACCESS Interface to Relational Databases

Books-by-Users Web Development with SAS by Example (Third Edition) Frederick E. Pratter

Oracle 10g PL/SQL Training

Simba Apache Cassandra ODBC Driver

SAS Programming Tips, Tricks, and Techniques

Managing Clinical Trials Data using SAS Software

Open Source DBMS CUBRID 2008 & Community Activities. Byung Joo Chung bjchung@cubrid.com

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

ODBC Chapter,First Edition

Seamless Web Data Entry for SAS Applications D.J. Penix, Pinnacle Solutions, Indianapolis, IN

BCA. Database Management System

David Dye. Extract, Transform, Load

Developing Microsoft SQL Server Databases MOC 20464

Oracle Database: SQL and PL/SQL Fundamentals NEW

Geodatabase Programming with SQL

ATTACHMENT 6 SQL Server 2012 Programming Standards

Developing Microsoft SQL Server Databases 20464C; 5 Days

1. INTRODUCTION TO RDBMS

1 File Processing Systems

SQL Pass-Through and the ODBC Interface

SAS PASSTHRU to Microsoft SQL Server using ODBC Nina L. Werner, Madison, WI

Micro Focus Database Connectors

SAS 9.3 Drivers for ODBC

Introduction to Databases

20464C: Developing Microsoft SQL Server Databases

DBMS / Business Intelligence, SQL Server

What's New in SAS Data Management

Access to Relational Databases Using SAS. Frederick Pratter, Destiny Corp.

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Technical Paper. Migrating a SAS Deployment to Microsoft Windows x64

DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?

Course 20464C: Developing Microsoft SQL Server Databases

Zero Downtime Deployments with Database Migrations. Bob Feldbauer

Concepts of Database Management Seventh Edition. Chapter 7 DBMS Functions

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

Course 20464: Developing Microsoft SQL Server Databases

9.1 Supplement for SAS/ACCESS. Microsoft SQL Server. SAS/ACCESS for Relational Databases

Simba ODBC Driver with SQL Connector for Apache Cassandra

Database Management. Technology Briefing. Modern organizations are said to be drowning in data but starving for information p.

Release: 1. ICADBS502A Design a database

Basic Concepts of Database Systems

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

How to Connect to CDL SQL Server Database via Internet

Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA

DATABASE MANAGEMENT SYSTEMS. Question Bank:

SEER Enterprise Shared Database Administrator s Guide

USING SAS WITH ORACLE PRODUCTS FOR DATABASE MANAGEMENT AND REPORTING

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

Setting Up ALERE with Client/Server Data

Oracle Database 10g: Introduction to SQL

Oracle Data Integrator: Administration and Development

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package Data Federation Administration Tool Guide

Oracle Database 11g SQL

Integrity Constraints and Audit Trails Working Together Gary Franklin, SAS Institute Inc., Austin, TX Art Jensen, SAS Institute Inc.

ORACLE DATABASE 11G: COMPLETE

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Oracle Database 12c: Introduction to SQL Ed 1.1

Basic Unix/Linux 1. Software Testing Interview Prep

Developing Microsoft SQL Server Databases

SQL, PL/SQL FALL Semester 2013

REDCap General Security Overview

Chapter 1 Introduction to the SAS Providers for OLE DB

B.Sc (Computer Science) Database Management Systems UNIT-V

Outline. SAS-seminar Proc SQL, the pass-through facility. What is SQL? What is a database? What is Proc SQL? What is SQL and what is a database

DATA BASE.

CA DLP. Stored Data Integration Guide. Release rd Edition

5. CHANGING STRUCTURE AND DATA

Connect to MySQL or Microsoft SQL Server using R

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

ICAB4136B Use structured query language to create database structures and manipulate data

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

DBMS / Business Intelligence, Business Intelligence / DBMS

Step into the Cloud: Ways to Connect to Amazon Redshift with SAS/ACCESS

PaperClip Audit System Installation Guide

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows

C HAPTER 4 INTRODUCTION. Relational Databases FILE VS. DATABASES FILE VS. DATABASES

Oracle SQL. Course Summary. Duration. Objectives

SAS Federation Server 4.1

CribMaster Database and Client Requirements

DATABASE MANAGEMENT SYSTEM

f...-. I enterprise Amazon SimpIeDB Developer Guide Scale your application's database on the cloud using Amazon SimpIeDB Prabhakar Chaganti Rich Helms

Database Assessment. Vulnerability Assessment Course

Course 6232A: Implementing a Microsoft SQL Server 2008 Database

SQL SERVER DEVELOPER Available Features and Tools New Capabilities SQL Services Product Licensing Product Editions Will teach in class room

Firebird. A really free database used in free and commercial projects

Copyright Telerad Tech RADSpa. HIPAA Compliance

D12C-AIU Oracle Database 12c: Admin, Install and Upgrade Accelerated NEW

Microsoft SQL Server Security & Auditing. March 23, 2011 ISACA Chapter Meeting

SQL Server. 1. What is RDBMS?

Optimizing Performance. Training Division New Delhi

Topics. Database Essential Concepts. What s s a Good Database System? Using Database Software. Using Database Software. Types of Database Programs

Real-time Data Replication

Using the Caché SQL Gateway

Guide to Upsizing from Access to SQL Server

Transcription:

Using SAS as a Relational Database Yves DeGuire Statistics Canada Come out of the desert of ignorance to the OASUS of knowledge

Introduction Overview of relational database concepts Why using SAS as a relational database? SAS relational database checklist SAS products and configurations

A relational database is: What Do We Mean by Relational Databases? A set of related tables that is created and managed by a database management system (DBMS) Tables are linked using common data fields Integrity rules are part of the database and are enforced by the DBMS A relational DBMS (RDBMS) should provide the following facilities: Query interface Transactions processing Concurrent access Security Link tables using Primary/Foreign Key relationship Integrity rules to ensure the integrity of your data by: -restricting the data values -keeping the relational link valid at all times

Why using SAS as a Relational Database? Reduce technology diversity Reduce software cost Efficiency/Performance for Statistical processing Because it works!

SAS Relational Database Checklist (1) Characteristic SAS Implementation Database Instance SAS library Table SAS data file View SAS data view Row Observation Column Variable Constraints General and referential Indexes Simple and composite SAS library: collection of one or more SAS files. It is associated with an engine. SAS Data File: a SAS dataset that stores data. SAS Data View: a SAS dataset that dynamically retrieve data when used. Only contains descriptor information. Constraints: Integrity constraints are a set of data validation rules that you can specify in order to restrict the data values that can be stored for a variable in a SAS data file. Integrity constraints help you preserve the validity and consistency of your data. General Constraints: Check: limits the data values of variables to a specific set, range, or list of values Not null: requires that a variable contain a data value Unique:requires that the specified variable(s) contain unique data values. Primary Key:requires that the specified variable(s) contain unique data values and not null. Referential Integrity: The foreign key constraint links the data values of one or more variables in the foreign key data file to corresponding variables and values in the primary key data file. Data values in the foreign key data file must have a matching value in the primary key data file. When data is updated or deleted in the primary key data file, the modifications are controlled by a referential action that is defined as part of the foreign key constraint. Index: optional file that you can create for a SAS data file to provide direct access

SAS Relational Database Checklist (2) Characteristic SAS Implementation Query Language Full support for SQL Concurrent Access SAS data server Lock Dataset and row-level Transaction Modify and Update processing Proc SQL DML Transaction log SAS Audit Trail Data Dictionary SASHelp Library PROC SQL: support ANSI standard SAS data server: implemented using SAS/SHARE Lock can be implicit or explicit (i.e. programmed explicitely) Audit Trail: a log of all changes to a SAS data file. Even failed operations are logged. SASHelp library: contains views to dictionary (read only) tables.

SAS Relational Database Checklist (3) Characteristic Procedural Security Connectivity SAS Implementation Base SAS, SCL, etc Datasets passwords Authentication SAS Interface file SAS Interface view Security can piggy-back on host security or use password protection Interface file used in conjunction with a SAS/ACCESS engine

Key SAS Products Base SAS Libraries, datasets, views, indexes, integrity Constraints Proc SQL SAS ODBC Driver SAS/SHARE and SAS/SHARE*NET Proc Server and Proc Operate Lock management Authentication SAS/ACCESS Access to data from various sources using native data engine or ODBC With SHARE*NET a SAS data server can accepts requests coming from a non-sas client

Access to data in SAS

Accessing a SAS Data Server

Inside a SAS Data Server A SAS data server is a SAS session running proc server for which libraries has been allocated. Those libraries are used to satify data requests coming from various clients.

Accessing ODBC Data with SAS

Accessing SAS Data with ODBC

What s new in V9? www.oasus.ca Indexing can use thread-enabled sort A variable may be part of both a Primary Key and a Foreign key Universal Unique Identifier Proc SQL is multi-threaded SAS/ACCESS supports threaded reads SAS Metadata Architecture Numerous enhancements to SAS/SHARE (better security, threading, etc ) A Universal Unique Identifier (UUID) is a 128-bit identifier that consists of date and time information, and the IEEE node address of a host

Conclusion SAS fully supports the relational model SAS has numerous facilities to retrieve and update data Many configurations are possible And you can use the SAS Intelligent Architecture on top of your SAS database!