Fixing issues with MS SQL which has problem with UPDATE command aliasing directly in the header of the command.