Created
July 4, 2023 11:59
-
-
Save avkosme/3242a5bd2a00d68e0e636962fad423a8 to your computer and use it in GitHub Desktop.
Describe table PG
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
SELECT | |
table_name, | |
column_name, | |
data_type | |
FROM | |
information_schema.columns | |
WHERE | |
table_name = '<table name>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment