Minggu, 17 Oktober 2010
Return Indexes for a Particular Table using TSQL
I posted a blog recently about returning a listing of all indexes for database, which is good if you want to see how many are in a database. However, you may want to return the indexes for one particular table. Script 1 shown below will do just that! Just modify the table that you are looking for (and USE statement like above) and execute the script. See figure 1 for sample results of executing
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar