May 2019
Intermediate to advanced
600 pages
20h 46m
English
CREATE SCHEMA finance; CREATE SCHEMA sales;
CREATE TABLE finance.month_end_snapshot (.....)
The default schema in which an object is created is known as current_schema. We can find out which is our current schema by using the following query:
postgres=# select current_schema;
This returns an output like the following:
current_schema---------------- public(1 row)
Read now
Unlock full access