• Purely in the interests of throwing the cat amongts the pigeons, you can write a line of code in a stored proc to drop itself you know. I know it doesn't exactly move the discussion along but I found it interesting that a self sacrificial stored procedure such as the one below actually works.

    create proc usp_suicide_proc

    as

    begin

    print 'goodbye cruel world, its been emotional'

    drop proc usp_suicide_proc

    end