Created
June 2, 2011 07:04
-
-
Save bonyiii/1004044 to your computer and use it in GitHub Desktop.
postgresql show columns from 'table'
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 column_name, data_type, udt_name, character_maximum_length FROM information_schema.columns WHERE table_name = 'table'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment