Minor. I think @ValidatePartitioning takes an integer as the first parameter. It's not a big deal here because the server will coerce this tinyint to an int anyway.