• cute script, but fails with error:

    "Msg 8152, Level 16, State 13, Line 1

    String or binary data would be truncated."

    there is also another much shorter script for this (which actually works):

    EXEC sp_MSforeachdb @command1='use ?

    select db_name();

    exec ?.dbo.sp_change_users_login ''Report'';'