• Try to do this yourself. Here is the link for your reference:

    http://msdn.microsoft.com/en-us/library/ms177410(v=sql.105).aspx

    ~ Lokesh Vij


    Guidelines for quicker answers on T-SQL question[/url]
    Guidelines for answers on Performance questions

    Link to my Blog Post --> www.SQLPathy.com[/url]

    Follow me @Twitter