Re: searching through tables
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Dec 2005 07:19:53 -0500
SELECT table1.columnName As name FROM table1
UNION SELECT table2.columName As name FROM table2
UNION SELECT table3.columnName As name FROM table3
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but you can't make it stink.
"Hrvoje Voda" <hrvoje.voda@xxxxxxxxxxx> wrote in message
news:dn92nb$45e$1@xxxxxxxxxxxxxxxxx
> Is there a way to search for a specific item through a various number of
> tables?
>
> I want to find out , for example, if there is a name of user in some of
> three tables in database.
>
> Hrcko
>
.
- References:
- searching through tables
- From: Hrvoje Voda
- searching through tables
- Prev by Date: Re: Application goes down with out any wornin.
- Next by Date: Re: Handling multiple events
- Previous by thread: searching through tables
- Next by thread: Re: searching through tables
- Index(es):
Relevant Pages
|