Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
David writes "How can I return multiple records with one select command? I need to do return a series of records based on different criteria in a list. Something like:Select * from TABLE where FIELD = 123456789, 246810121, 369114151, etc...Suggestions?DS"
Kristen
Test
22859 Posts
Posted - 2006-06-13 : 08:55:07
This perhaps?
Select * from TABLE where FIELD IN (123456789, 246810121, 369114151, ...)