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

Need to return all rows but one.

Status
Not open for further replies.

realstandman

IS-IT--Management
Oct 29, 2003
87
US
I need to return all rows in the table clmdes1 except for row 167063 and 167064. How can this be done?
 
Something like this ?
SELECT * FROM clmdes1 WHERE yourRowIdField NOT IN (167063, 167064)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top