How can we check that table have index or not?

前端 未结 3 1653
春和景丽
春和景丽 2021-02-07 10:16

How can we check that table have index or not ? if have how to find that index for a particular column for a table?

Regards, kumar

3条回答
  •  情歌与酒
    2021-02-07 10:32

    Try

    select object_name(object_id),* from sys.indexes 
    where object_name(object_id) = 'your table name'
    

提交回复
热议问题