Notifications
Announcements
No record found.
Hi,
I am trying to find specific path value in database.
How do I find string value such as "C:\temp\abc%" in a particular database of all tables.
Thanks in advance.
Shaikh
*This post is locked for comments
Check this out but be careful as this could turn into an intense search.
stackoverflow.com/.../search-all-tables-all-columns-for-a-specific-value-sql-server
Check this beautiful procedure by David which perfectly fits you...
blogs.msdn.microsoft.com/.../updated-spsearchonalldb-sql-stored-procedure-to-search-an-entire-database
Good one Tom... completely forgot about that one :)
Tom, You beat me to it. :-)
Shaikh,
You could also use a FREE search tool from Apex called Apex Search. It is very good and will allow you to look for dates, strings, numbers, dates, etc. and you can specify which tables www.apexsql.com/Download.aspx
Check it out, I think you'll like it. It's my 'go to' tool for searching the database; you can even select to search ALL of the databases in a single search.
Kind regards,
Leslie
Hi Shaikh,
GP Company Database having Some default Stored Procedure for Searching particular String Value.Using below Procedures you can find Date,Number and String Value.
dbo.SearchAllTablesForDate
dbo.SearchAllTablesForNumber
dbo.SearchAllTablesForString
Hope this helps!!!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
mtabor 1