Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass multiple values to a parameter?

Status
Not open for further replies.

ekta22

IS-IT--Management
May 3, 2004
359
US
Hi,

I have created a lookup table that looks something like below:

a - a
a - aa
a - aaa
b - b
b - bb

I want to use this lookup table in my query. If a user selects a, the query should return values a, aa, aaa.

How can I use this lookup to get the above results. Thanks a lot in advance!

-E
 
SELECT field2 WHERE field1 = 'a';

Unless I'm missing something really obvious?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top