schemazen icon indicating copy to clipboard operation
schemazen copied to clipboard

Indexes on Views Don't Script Correctly

Open AmyEslinger opened this issue 8 years ago • 3 comments

The index script created for indexes on views, only include the last column in the index and are missing all other columns.

AmyEslinger avatar Apr 21 '16 15:04 AmyEslinger

Do you have an index script I could use to repro this so I can fix?

danbrad avatar Apr 21 '16 19:04 danbrad

IXU_rvw_Daily_Check_Summary_Comp SSMS – was generated via SSMS. The others were created via Schemazen.

From: Dan Bradley [mailto:[email protected]] Sent: Thursday, April 21, 2016 2:51 PM To: sethreno/schemazen [email protected] Cc: Amy Eslinger [email protected]; Author [email protected] Subject: Re: [sethreno/schemazen] Indexes on Views Don't Script Correctly (#92)

Do you have an index script I could use to repro this so I can fix?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/sethreno/schemazen/issues/92#issuecomment-213087932

AmyEslinger avatar Apr 21 '16 20:04 AmyEslinger

Sorry, maybe I wasn't clear. If you could give me the definition of an indexed view that is causing this problem (or a sanitised version thereof) including the index definition, I will try and fix.

danbrad avatar Apr 21 '16 20:04 danbrad