Created
April 28, 2014 08:41
-
-
Save abhi1010/11365686 to your computer and use it in GitHub Desktop.
View all the columns of a given 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 "Name", | |
| nullable "Null?", | |
| concat(concat(concat(data_type,'('),data_length),')') "Type" | |
| FROM user_tab_columns | |
| WHERE table_name='ASGDLX_TBLBRAND' | |
| where "ASGDLX_TBLBRAND" is the table name. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment