Created
August 24, 2015 21:46
-
-
Save ajw0100/7df027cd36a1f4ffd357 to your computer and use it in GitHub Desktop.
Documenting Your Redshift Data Warehouse
This file contains hidden or 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
create table orders(id int); | |
comment on table orders is 'This table holds all customer orders!'; | |
select description from pg_description | |
join pg_class on pg_description.objoid = pg_class.oid | |
where relname = 'orders'; | |
┌───────────────────────────────────────┐ | |
│ description │ | |
├───────────────────────────────────────┤ | |
│ This table holds all customer orders! │ | |
└───────────────────────────────────────┘ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment