• First, really appreciate of this script code.

    Abhijit, am new to sql server and i know sql in application oriented only not in scripting side.

    Could you please explain me how it works and where to run this script.

    many thanks