Query based on the results of another query?
- From: "David Cox" <david_cox@xxxxxxxxxxxx>
- Date: Sat, 8 Dec 2007 12:08:11 -0500
Hello,
I have a query that contains an ADO record set (query1) from a table. I
would like to create a second query (query2, that happens to be a View)
based on the results of query1. Both queries share the same OrderId.
What I am trying to do is say something to the effect:
Select *
From ViewWhere OrderId = (the results from query1)
It would also be desirable to have query2 sorted in the same order a query1.
Any help would be appreciated.
Thanks in advance,
Dave.
.
- Follow-Ups:
- Re: Query based on the results of another query?
- From: Bill Todd
- Re: Query based on the results of another query?
- Prev by Date: Re: Query based on the results of another query?
- Next by Date: Re: Query based on the results of another query?
- Previous by thread: Re: Milliseconds to SQL Server DateTime
- Next by thread: Re: Query based on the results of another query?
- Index(es):
Relevant Pages
|