Hi,
Try this,
declare @x int,@y int,@z int,@t int
select @x=0,@y=1,@z=2,@t=3
insert into t
select *
from
( select @x as col union all
select @y as col union all
select @z as col union all
select @t as col
) as tbl
where tbl.col <>0.0
select * from t
--create table t(col int)...