forked from morenoh149/postgresDBSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request morenoh149#4 from kishvanchee/master
Adding Adventureworks Database for Postgres
- Loading branch information
Showing
4 changed files
with
3,325 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Adventureworks from SQL Server | ||
|
||
Commands: | ||
|
||
``` | ||
unzip data.zip # this will unzip all csv to the current directory | ||
psql -c "CREATE DATABASE \"adventureworks\";" | ||
psql -d Adventureworks < install.sql | ||
``` | ||
|
||
To see list of tables | ||
|
||
``` | ||
\c "Adventureworks" | ||
\dt (humanresources|person|production|purchasing|sales).* | ||
``` | ||
|
||
|
||
Credits: [lorint-AdventureWorks for Postgres](https://github.com/lorint/AdventureWorks-for-Postgres) |
Binary file not shown.
Oops, something went wrong.