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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL IN parameter

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
First, can you use the 'In' Parameter when the field is numberic. For instance: Where CustNo In (10,30,50)

to return the specified customer numbers? I can get it to work fine using a text based field (ie. Where MarkSeg In ('AC', 'CL' 'BR')

Now I know that I need the single quote for text and no quotes for numbers. However, I cannot get it to work.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top