dongping9475 2013-04-11 12:17
浏览 12
已采纳

确定检查IS_IDENTITY和/或IN_PRIMARY_KEY的表字段?

I am trying to determine the table column which has been identified as (or part there of) the primary key for a given table name.

I have been playing around with the INFORMATION_SCHEMA and the data within it, but nothing seems to relate to these table columns.

Have also been browsing around this website:

http://msdn.microsoft.com/en-us/library/aa933201%28v=sql.80%29.aspx

but without much luck so far.

Anyone have any suggestions?

  • 写回答

1条回答 默认 最新

  • dpwfh874876 2013-04-11 12:31
    关注

    I actually found what I was looking for here

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?