Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Yak Posting Veteran
In (Som, Ni, Yak)
(select top 1 value from data x where x.id < d.id and x.value is not null order by id desc)
from data d