Oracle Query : To get Column details in all tables of a Database

If we want to check the Datatype of the columnname in each table of the entire Database then we can use this query

select OWNER,TABLE_NAME,COLUMN_NAME,DATA_TYPE,DATA_LENGTH from all_tab_columns where COLUMN_NAME = 'MSC_ID'

This query will give the list of all tables which are having the given column and datatype of that column in those tables .

Comments

Popular posts from this blog

SQL Server MDS : How to Know Actual MDS Table name for Model Entity and Column name for the Attribute

SSIS Error : Object is not an ADODB.RecordSet or an ADODB.Record + Solution

SSRS : [Teradata Database] 3939 There is a mismatch between the number of parameters specified and the number of parameters required.