... OBJECT_ID ( '[Common].[usp_MyStoredProcedure]', 'P' ) IS NOT NULL
DROP PROCEDURE [Common].[usp_MyStoredProcedure];
GO
-- drop a view if it exists
IF OBJECT_ID ( '[Common].[uvw_MyView]', 'V' ) ...
... in the order that they are accepted by your stored procedure (eg. MyStoredProcedure(param1,param2,param3) -> param1=@param1, param2=@param2, param3=@param3):
Local Variables
Note that we were ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.