• Hi

    I did doubt there was a way to do this using T-SQL but really appreciate the feedback from everyone - I'll look at Steve's suggestion of performing the search then go through and clean up the comments to change the table name in there to something that doesn't match.

    Many thanks all

    Ralph