Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Location
    Mumbai, India
    Posts
    36

    Unanswered: Finding columns from sysindexes.

    I understand that in the "Keys" column in the "sysindexes" table, the columns are stored in Binary format. Is there any way by which I can get these column names by deciphering sysindexes.keys ? I don't want to use index_col() function.
    Last edited by suresh_m_kumar; 09-23-03 at 10:04.

  2. #2
    Join Date
    Jul 2002
    Location
    Village, MD
    Posts
    621

    Re: Finding columns from sysindexes.

    Use sysindexes, syscolumns, sysindexkeys. See BOL for details.

  3. #3
    Join Date
    Sep 2003
    Location
    Mumbai, India
    Posts
    36

    Re: Finding columns from sysindexes.

    Thanks a lot. I used your suggestion and got the results. I had forgotten about the sysindexkeys table initially. Thanks again. --Suresh.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •