Groups | Blog | Home
all groups > sql server data mining > december 2003 >

sql server data mining : Find specific Text String in all database at once


Qslx
12/2/2003 7:56:05 AM
Hello
I'd like to find a specific text string in all database tables. Is there a way to make only one query to all tables at the same time

Thank you very much for your attention

Richard Morey
12/12/2003 3:09:19 PM
Hi..

I don't know exactly how to do this, but you can query one of the system
tables to get the list of table names..

select name from sysobjects where xtype = 'u'

You could probably figure out how to write a query using the result set of
the above SELECT.

Rich


[quoted text, click to view]

AddThis Social Bookmark Button