>Is there an equivalent to VFP's inlist() command in C# for SQL Server?
>
>I want to issue a command like
>
>update orders set flag = 0 where inlist(ordernumber,25000,26789,2342)
>
>
>I'm not sure how to do this?
Paul,
The IN clause:
UPDATE Orders SET Flag = 0 WHERE OrderNumber IN (25000, 26789, 2342)
HTH,
Chad
_________________________________
There are 2 types of people in the world: