• This does not work on SQL Server 2005. You get the following error message:

    "Msg 245, Level 16, State 1, Line 1

    Conversion failed when converting the varchar value 'B' to data type int."