>>>>>One more thing to add to my initial message. I see this name ( AK_CompReference2) in Keys node and in the Indexes node. And >>What was wrong in doing it through the code? BTW, did you script when you deleted it (just to see what code was generated)?
>
>I don't know what you mean by "did you script when you deleted it". How do I script when deleting?
Before saving the changes click on Generate Script button. Alternatively, there is an option to save scripts every time you make changes in the designer.
If it's not broken, fix it until it is.
My Blog