Developing Matt

My Technical Journal

Where is the column, you say?

leave a comment »

If you need to find a column in a database then you can always look for it by querying the sysobjects table

select * from sysobjects where id in ( SELECT id FROM syscolumns WHERE name  like ‘%columnname%’)

I’m not an oracle guru like Jarva, but supposedly you can  do the same in Oracle with this (from here)

select * from dba_tab_cols all_tab_cols where table_name like ‘table%’ and column_name like ‘column%’ ”


Written by matt

September 13, 2007 at 3:55 pm

Posted in T-Sql

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: