• The comments are in-between the script itself and are self-explanatory hence I did not elaborate on them in text assuming that the user is familiar with sql and the functions used within the code.

    Also, the last that I tested it was on SS2K + SP3a....don't have SP2 only on a machine to test on so can't comment on what the issue might be on just SP2 (shouldn't be a big deal though since between SP2 and SP3a most of them have been bug fixes and new features like fn_get_sql etc. are not being used in the code). And when you cut and paste the code, make sure that the text is not messed up because of the font size for the comments in the code (it can wrap up and appear on the second line since the comments are marked as --).

    Rahul Sharma

    Senior Database Administrator

    Manhattan Associates

    Atlanta, GA

    Edited by - rsharma on 09/19/2003 11:06:29 AM

    Edited by - rsharma on 09/19/2003 11:11:16 AM