FAQ
Members List
Calendar
Mark Forums Read
find the text in all tables in all databases
dbTalk Databases Forums
Databases
microsoft.public.sqlserver.server
find the text in all tables in all databases
microsoft.public.sqlserver.server
microsoft.public.sqlserver.server
Discuss
find the text in all tables in all databases
in the
microsoft.public.sqlserver.server
forum.
Thread Tools
Display Modes
#
1
sarah
Posts: n/a
find the text in all tables in all databases -
10-05-2009 , 09:39 AM
Hi,
I'm using sql 2005 and 2008 and trying to find the text in all tables of all
databases.
Is there a script that I can use?
Thanks a lot,
Sarah
sarah
#
2
Plamen Ratchev
Posts: n/a
Re: find the text in all tables in all databases -
10-05-2009 , 09:55 AM
Here is a script to search in all tables in one database:
http://vyaskn.tripod.com/search_all_...all_tables.htm
You can use the undocumented sp_MSForEachDB to iterate over all databases:
http://www.kodyaz.com/articles/sql-s...tsql-code.aspx
--
Plamen Ratchev
http://www.SQLStudio.com
Plamen Ratchev
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Contact Us
-
dbTalk Databases Forums
-
Archive
-
Top