title: Generate script of All the indexes in a database
body: <p>I want to generate a script of all the indexes in a database(Create Index).</p>
  
  <p>I don't want the index script along with create table script. how can we generate it in SQL Server (2005 or 2008). There needs to be separate script for Clustered and Non Clustered Indexes.</p>