Skip to content

Instantly share code, notes, and snippets.

@abhi1010
Created April 28, 2014 08:41
Show Gist options
  • Select an option

  • Save abhi1010/11365686 to your computer and use it in GitHub Desktop.

Select an option

Save abhi1010/11365686 to your computer and use it in GitHub Desktop.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment