• sknox (7/2/2012)


    Bob Razumich (7/2/2012)


    For a moment, I thought the correct answer was a trick answer. "sp_refreshview"? It just seemed too cute for a Monday, but I looked it up first, anyway...

    +1

    I figured the first answer was wrong because DROP...CREATE VIEW is not the only way to fix that problem, even without the existence of sp_refreshview. You can also use an ALTER VIEW statement. Since the third answer was patently untrue as well, whatever remained, however improbable, had to be true.

    That's how I deduced that there was, indeed, a stored procedure called sp_refreshview.

    Awesome deduction! Much more entertaining than the method I used.