# set the password in an environment variable
export PGPASSWORD=mypassword # linux/mac
set PGPASSWORD=mypassword # windows
# create the database dump
$ pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb > mydb.dump
Code Example |
---|
:: |
Sql :: |
:: |
Sql :: laravel subquery in from clause |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Sql :: |
:: |
:: |
Sql :: |
Sql :: |
:: sql basic commands |
:: |
:: |
:: SQLite (sqlite 3.27.2) sample |
:: |
:: |
:: |
:: oracle create package specification |
:: |
:: |
:: |
Sql :: |
Sql :: |
:: |