if datepart(dw, getdate()) in (6, 7)
use pubs;
About Piotr Rodak
I am database developer in one of biggest financial institutions. I have many years of experience in software development. My interest
shifted gradually from front end applications to server systems and
eventually databases, especially SQL Server.