|
Comments
|
|
Excellent...thanks for sharing!
|
|
|
good insight
|
|
|
well - that explains what happened a year or so ago... thanks - I thought I was a few french fries short of a happy meal
|
|
|
Thanks for sharing. One might wonder why this invitation to insidious latent problems is permitted within SSMS.
|
|
|
Excellent Lesson on what NOT to do with views! Thanks Andy!
|
|
|
You probably should have reiterated the right way (drop and recreate) that you did in Part 1. It's worth repeating.
|
|
|
Andy, what is the best practice for avoiding this problem? In the past, I've right-clicked on the view, selected Script View as ... CREATE To ... New Query Editor Window, then created the new (renamed) view that way. Then, I'd go back and modify (ALTER) the original view. Do you have a more elegant solution? If so, then please share it.
|
|
|
Thanks Andy...something else to look out for...
|
|
|
Did I hear you right this is an undocumented feature, not a bug?
|
|
|
Excellent tip, thank you!
|
|
|
I hope this was reported to MS as a bug.
|
|
Dexter Jones on
2/15/2011
Good information, as usual, but it would have been nice to see the proper way to rename a view. Or is that going to be part three? ;)
|
|
|
I did not know that! thanks
|
|
Mark Sopczak on
2/16/2011
Wow... never knew that. It almost seems like a bug to me. Quite honestly they should not allow a rename view if you ask me.
|
|
|
Very good to known.
|
|
|
Thanks for the tip, I was not aware of this behavior!
|
|
|
Very enlightening. I never suspected this behaviour.
|
|
|
I really appreciate lessons like this that help people avoid a possible "gotcha" that wouldn't have been avoided just by knowing about SQL Server, but only comes from experience. It's much better to benefit from the painful experience of others.
|
|
|
Hi Andy,
Very nice information. Thanks for your community support
|
|
Maurice Ivory on
3/11/2011
It was nice sharing the bad experience with us so that we can learn not to do it.
|
|
|
Thanks for sharing.
|
|
|
why would you run sp_refreshview... if it could create the error you describe?
|
|
Keith Badeau on
6/13/2011
Great tip, thanks a lot for the videos.
|
|
|
Wow! I'm just speechless. Thanks for pointing this out Andy. I do think that Microsoft should get their act together on this though and ensure that any name change is implemented all the way through.
|
|
|
Very Nice Video that to avoid renaming a view
|