I have some dodgy scenario on SQL Server and wonder if someone can help with or point me into correct direction... the story is below: