• The second-to-last call doesn't work due to casting problems.

    Is there a way to have something like this for SQL2000?