Skip to content

Commit

Permalink
Update dbutils.md
Browse files Browse the repository at this point in the history
  • Loading branch information
binary1230 committed Sep 3, 2014
1 parent 54945c4 commit 15ee3c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dbutils.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ sudo bash
service postgresql restart
su postgres
psql
DROP DATABASE mydbname
CREATE DATABASE mydbname
DROP DATABASE mydbname;
CREATE DATABASE mydbname;
psql -d mydbname -f backupfile.sql
# select from an attende (this exact syntax is super-important)
SELECT * FROM "Attendee";
```

0 comments on commit 15ee3c2

Please sign in to comment.