Skip to content

Instantly share code, notes, and snippets.

@abhi1010
abhi1010 / gist:11365686
Created April 28, 2014 08:41
View all the columns of a given table
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.