• I appreciate that. I was offering to write, though. I saw the "Write for SQLServerCentral" in the newsletter yesterday so I was poking around the requested topics to see if there was any way to help. The elimination of cursors is kind of a passion for me, and thus here I am. 😀

    Back on topic, though, I solved the problem by using table valued parameters into named procs to break things into pieces and CTEs in said procs to handle the rules.