miércoles, 6 de abril de 2016

SQL Server - Crear o reemplazar stored procedure

IF object_id('dbo.Instalar_Version', 'p') is null
    exec ('create procedure Instalar_Version as select 1')
go

ALTER PROCEDURE Instalar_Version
@producto VARCHAR, @version VARCHAR, @estado VARCHAR
AS
BEGIN
END
GO