Sharoness
asked on
How to search all columns of all tables in a database for a keyword
Hi,
I have lost the password to an application that it's database resides on SQL. I was wondering if I can look for the username and password in 1 of the tables in the SQL and then change the password.
My proble is that i have more thab 300 tables in the database. is there a way to search all columns of all tables in a database for a keyword?
I have lost the password to an application that it's database resides on SQL. I was wondering if I can look for the username and password in 1 of the tables in the SQL and then change the password.
My proble is that i have more thab 300 tables in the database. is there a way to search all columns of all tables in a database for a keyword?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in order to search for a keyword, after running the above (Please replace 'Alter procedure' with 'CREATE PROCEDURE' ) you have run this on a new query window
exec SearchAllTables 'keywordToSearch'
exec SearchAllTables 'keywordToSearch'
ASKER