Generate CREATE INDEX statements in SQL Server

后端 未结 4 525
滥情空心
滥情空心 2020-12-20 18:41

Does anyone have a script to list of CREATE INDEX statements for all existing indexes in a SQL Server database?

This thread List of all index & index columns in

4条回答
  •  抹茶落季
    2020-12-20 19:26

    Use Generate Scripts from SQL Management Studio and choose the "Script Indexes" options (under Advanced Scripting options)

提交回复
热议问题