• It would be useful to see in a question the exact version of the SQL Server used for the test.

    Moreover , the "bug" has disappeared after the arrival of the SP3 which should have been applied already in 2010 when this question was proposed .

    Is there any control about the correctness of the solution ?

    If the question is related to SQL Server 2005 RTM , I am doubting that there are many DBA accepting not to have installed the last service pack ( at least for security reasons ).