Home Forums Programming General identifying Identification fields using system tables (sqlserver2000) RE: identifying Identification fields using system tables (sqlserver2000)

  • Very undocumented...

    select * from syscolumns where colstat & 1 = 1

    Will give the Identity columns

    /rockmoose


    You must unlearn what You have learnt