After creating stored procedure in SQL Server why to replace Create with Alter? What will happen on execution if we do not change it? Is there a better alternate to it other then checking if exist and drop?
After creating stored procedure in SQL Server why to replace Create with Alter ?
Share
Createwill fail if table exists.Alterwill fail if table does not exist.If you ask why to use
Alterif you can drop and create, a few reasons: