FALCONSEYE
Programmer
Another 'how do i do this in oracle' question .
sql version >
this will give me all the db tables (whatever schema i am in) that has a column named "description"
how do i do this in oracle?
I found this :
but it returns 0 rows. I know for a fact that my product table does have a description field in that schema.
thanks in advance.
sql version >
Code:
SELECT dbo.sysobjects.name
FROM dbo.syscolumns INNER JOIN
dbo.sysobjects ON dbo.syscolumns.id = dbo.sysobjects.id
where dbo.sysobjects.xtype = 'U'
and dbo.syscolumns.name = 'description'
this will give me all the db tables (whatever schema i am in) that has a column named "description"
how do i do this in oracle?
I found this :
Code:
select * from all_tab_columns
where column_name like '%description%';
but it returns 0 rows. I know for a fact that my product table does have a description field in that schema.
thanks in advance.