I've been attempting to help someone in the following thread http://www.sqlservercentral.com/Forums/Topic565722-1063-1.aspx. Unfortunately we've been unable to post a goodish amount of code that may have had this finished a decent bit ago... the code I attempted to post is included in attachments to the post. any help would be great.
FWIW, I attempted to use the Code Quote and various other IFCodes to get it to format properly. I assume it's not liking the code because of security reasons or validation or some such thing, but I just thought you should know.
To help us help you read this[/url]For better help with performance problems please read this[/url]