in null

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

declare @int1 int = null
declare @int2 int = 2
declare @int3 int = 3
declare @int4 int = null
declare @int5 int = null

select *
from (values(1),(2),(3),(4),(5)) as T(N)
where N not in (@int1, @int2, @int3, @int4, @int5)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results