Wednesday, January 7, 2009

How can search column in database using sql

How can search column in database using sql.

solution:-
use databasename
select it and execute and then write this query and execute it . it will give all the table in wich there will be the column name like you search.
select * from information_schema.columns where column_name like '%abc%'

No comments: