June 13, 2003 at 6:18 pm
I'm looking for a Script that can search through the system tables and identify the indexes (which I've been able to do) and the indexed fields (which I have not been able to do). I'll use this information to build a script that will dynamically build the drop and create statements for each index for a give datababase.
June 14, 2003 at 2:23 am
An option is to extend Umachandar's SQLDMO table scripting example at http://www.umachandar.com/technical/SQL70Scripts/UtilitySPs/Main17.htm. Using it as the basis, extend it down to the index level and let SQLDMO generate your scripts.
Saves reinventing the wheel.
Cheers,
- Mark
June 15, 2003 at 5:52 pm
Do you have another reference to the article
June 15, 2003 at 8:49 pm
Damn full stops.
Try: http://www.umachandar.com/technical/SQL70Scripts/UtilitySPs/Main17.htm
Cheers,
- Mark
June 15, 2003 at 8:50 pm
Damn full stops.
Try: http://www.umachandar.com/technical/SQL70Scripts/UtilitySPs/Main17.htm
Cheers,
- Mark
June 15, 2003 at 10:10 pm
Sorry should have noticed, but thanks!
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply