Skip to content

The 2017 Adventure Works sample database converted to SAS format

Notifications You must be signed in to change notification settings

sasjs/AdventureWorks

Repository files navigation

Gitpod ready-to-code

TLDR

This script will create 5 libraries (underneath your WORK directory) with the 2017 AdventureWorks database.

filename mc url "https://raw.githubusercontent.com/sasjs/AdventureWorks/main/runme.sas";
%inc mc;

You can open the runme.sas file and modify the libname statements to save the data to a permanent location.

Adventure Works

Adventure Works is an MIT-licensed sample database for SQL Server. This repository is an attempt to replicate this model (and corresponding data) using SAS datasets.

For various reasons, this is an imperfect copy of the original. If you would like to contribute to making it better, feel free to submit a pull request!

The original DB is made up of five schemas. These are mapped to libraries as follows:

  • HumanResources -> hr
  • Person -> person
  • Production -> productn
  • Purchasing -> purchsng
  • Sales -> sales

Views have not (yet) been migrated. Also, tables with names over 32 characters have been ignored.

About

The 2017 Adventure Works sample database converted to SAS format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages