DROP and CREATE vs ALTER

  • Good morning everyone (it's morning in Arizona, anyway).

    I'm going to be preparing a single script to install several stored procedures. These procedures are revisions of existing ones.

    Is there any advantage to doing a DROP and CREATE versus ALTER?

  • You lose any permissions that were on the object, if that can be called an advantage.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks Gail. No, I do not want to change/lose any permissions on these.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply