March 17, 2011 at 4:55 am
Hi All,
I'm trying to export indexes that I have created on one server to another but I don't seem to find a task that does the job. I can export data for all other Database objects but I don't seem to find a way to export Indexes. Would someone let me know if it is any way possible to achieve this task.
Thank you
March 17, 2011 at 9:21 am
take a look at the posts in this discussion; it has a community contribution to script all indexes as CREATE INDEX statementing:
http://www.sqlservercentral.com/Forums/FindPost1079779.aspx
as far as the GUI goes, i think you can include indexes if you script the table, but you ar enot able to script indexes all by themselves.
Lowell
March 18, 2011 at 4:56 pm
Depending on what tools you have available you could do some sorta of Schema Comparison. Visual Studio 2010/08 work well for that sort of thing.
March 18, 2011 at 5:07 pm
Red Gate's SQL Compare will not do this. It looks at the tables, but I'll ask and see if there's an option, or file a bug.
Disclosure: I work for Red Gate
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply