This blog will no longer be updated.New content is available on my new blog
if datepart(dw, getdate()) in (6, 7) use pubs;