This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,42 @@
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF OBJECT_ID('[dbo].[sp_UpdateErtesitesiDatum]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[sp_UpdateErtesitesiDatum]
END
GO
CREATE PROCEDURE [dbo].[sp_UpdateErtesitesiDatum]
-- Add the parameters for the stored procedure here
@pUserId INT
,@pNebuloId INT
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @currentDateTime DATETIME
SET @currentDateTime = (SELECT GETDATE())
BEGIN
UPDATE
T_NEBULO
SET
C_ERTESITESDATUMA = @currentDateTime
,SERIAL = SERIAL + 1
,LASTCHANGED = @currentDateTime
,MODIFIER = @pUserId
WHERE
ID = @pNebuloId
END
END
GO