Skip to main content

Lo resolví de esta forma:

    /****** Object:  StoredProcedure [dbo].[GetBillCustomer]    Script Date: 03-06-2019 12:45:08 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:      <Author, , Name>
-- Create Date: <Create Date, , >
-- Description: <Description, , >
-- =============================================

CREATE PROCEDURE [dbo].[UpdateSale]

@ParamID INT,
@Param2 INT,
@Param2 DATETIME,
@Param3 NVARCHAR(MAX)
@Param4 INT

AS
SET NOCOUNT ON

UPDATE MiVenta
SET 
    [NombreColumna1] = @Param1 ,
    [NombreColumna2] = @Param2 ,
    [NombreColumna3] = @Param3 ,
    [NombreColumna4] = @Param4 
WHERE [NombreColumnaID] = @ParamID
vicasas
  • 1.3k
  • 3
  • 21
  • 50