Transact-sql can be written like this:

\

declare @i int;

set @i = 0;

if @i in(1,2,3,4)

select ‘OK’;

else

select ‘oh god’;

 

The result reads: oh God.

 

If @ I =1 OR @ I =2 OR… So stupid. \