• Chad Crawford (10/18/2012)


    The query is executing the sp_columns system stored proc, which returns information about a table column, given the table and column name.

    Why dont you try sys.columns or information_schema

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)