Re: Can I search a certain text in a SQL SERVER db?
From: Lance Wynn (lance_wynn_at_N.O.S.P.A.M.hotmail.com)
Date: 01/19/05
- Previous message: creative: "Re: Can I search a certain text in a SQL SERVER db?"
- In reply to: creative: "Re: Can I search a certain text in a SQL SERVER db?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 20:22:01 -0700
If you don't know the table and field names, and you want to search for text
within the tables, you could query for the table and field names, and then
determine which fields can contain text, and build dynamic query based on
that. I don't know how well it will work though, I have never attempted
anything like this before.
"creative" <creativebyte@hotmail.com> wrote in message
news:e$MulNc$EHA.3592@TK2MSFTNGP09.phx.gbl...
what if I do not know these table names and field names?
"Lance Wynn" <lance_wynn@N.O.S.P.A.M.hotmail.com> дÈëÓʼþ
news:utmWcrX$EHA.1084@tk2msftngp13.phx.gbl...
> You can, look into Unions. When you specify a table in a database, use
the
> full name (database.dbo.table)
>
>
>
> "creative" <creativebyte@hotmail.com> wrote in message
> news:ejfPpxR$EHA.3616@TK2MSFTNGP11.phx.gbl...
> There are many db in my machine.
> Can I search a certain text among those dbs?
>
>
>
- Previous message: creative: "Re: Can I search a certain text in a SQL SERVER db?"
- In reply to: creative: "Re: Can I search a certain text in a SQL SERVER db?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|