all groups > sql server (alternate) > july 2003 >
You're in the

sql server (alternate)

group:

Is it possible to query a prior query?



Is it possible to query a prior query? Peter Olcott
7/13/2003 3:03:29 PM
sql server (alternate): Is there some way to save a selection set in SQL
so that another SQL query can further refine the
prior query?

Re: Is it possible to query a prior query? Erland Sommarskog
7/13/2003 9:22:08 PM
Peter Olcott (olcott@worldnet.att.net) writes:
[quoted text, click to view]

http://www.algonet.se/~sommar/share_data.html may give you some
suggestions.

--
Erland Sommarskog, SQL Server MVP, sommar@algonet.se

Books Online for SQL Server SP3 at
Re: Is it possible to query a prior query? Makjalele
7/14/2003 10:54:30 AM
My suggestion is to dynamicly build view.You can query view as any other
table.You can also dynamicly build SQL SELECT statement and add conditions
in WHERE clause and execute it.

AddThis Social Bookmark Button