Thank this author by sharing:
Rebuilds all indexes from all databases over a specified fragmentation threshold.
Managing Indexes in a Database ---
It finds the Indexes on database which needs to be Defragmented and Rebuilds those indexes. Only you...
Creating Index on the subcription database tables
how to check specified table exists in the database or not
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands
of articles and SQL scripts, a library of free eBooks, a weekly database news roundup,
a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals
that makes it such a success.