metadata of a table

  • May i know if there is anyother way to find the metadata of a table other than using

    sp_help.......sp_help is apparently giving me wrong results!!!!

     

    thank you

  • Look for information_schema in books online.

    It describes how you can get to that data using microsoft created logical views.

    such as information_schema.columns.

    select *

    from information_schema.columns

    where table_Name = 'mytable'

     

    GL

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply