• You are executing exactly the same query 6 times because of the cursor. There is absolutely no reason to use a cursor for this. Why would you want to use a cursor when you have acknowledged that you are aware of the poor performance of using one.

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]