Dee
asked on
Need to do a string search on all fields on all tables
I need to query all fields of all tables in a SQL database for the string "<script".
Is this possible without specifying each field name, and also without specifying the table name?
I need to do this either from sql server management studio or with a script in VB-6.
Is this possible without specifying each field name, and also without specifying the table name?
I need to do this either from sql server management studio or with a script in VB-6.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you! Can I output the results to a text file?
Sure, right click in your query window in management studio and select "Results To", then select "Results to File"...from there you can run the query and output the results to whatever file you want.
ASKER
thank you for your quick responses. You saved the day! ... and the database
http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm
GOD BLESS,
Aneesh R.