• You have a comma just before the END statement. Remove that.

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]