How to check a SQL Server CE database for indexes?

前端 未结 2 1173
无人共我
无人共我 2021-02-13 20:40

Is there a way to list all SQL Server CE database table indexes, or at least for individual tables?

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-13 21:02

    -- Retrieves information about the indexes contained in the database. SELECT * FROM INFORMATION_SCHEMA.INDEXES

    -- Retrieves all the Tables in the database including the System tables. SELECT * FROM INFORMATION_SCHEMA.TABLES

    Arjuna Chiththananda - Retrieving Schema Information of SQL CE Database

提交回复
热议问题