• Good example. But rather than creating six different variables, i would like to create only one variable and use sp_executesql.

    Anyway. Thanks for question.

    Thanks
    Vinay Kumar
    -----------------------------------------------------------------
    Keep Learning - Keep Growing !!!