init
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
ALTER TABLE [dbo].[SensorsStreamOutput] ADD TMATS_IntervalMS INT NULL;
|
||||
@@ -0,0 +1,21 @@
|
||||
ALTER PROCEDURE [dbo].[sp_TestSetupHardwareInsert]
|
||||
@DASId INT,
|
||||
@TestSetupId INT,
|
||||
@AddOrRemove BIT,
|
||||
@SamplesPerSecond FLOAT,
|
||||
@IsClockMaster BIT,
|
||||
@errorNumber INT OUTPUT,
|
||||
@errorMessage NVARCHAR(255) OUTPUT
|
||||
AS
|
||||
BEGIN
|
||||
SET @errorNumber = 0;
|
||||
SET @errorMessage = space(0);
|
||||
|
||||
INSERT INTO [dbo].[TestSetupHardware] ([DASId], [TestSetupId], [AddOrRemove], [SamplesPerSecond], [IsClockMaster]) VALUES (@DASId, @TestSetupId, @AddOrRemove, @SamplesPerSecond, @IsClockMaster)
|
||||
|
||||
IF(@@error != 0)
|
||||
BEGIN
|
||||
SET @errorNumber = ERROR_NUMBER()
|
||||
SET @errorMessage = ERROR_MESSAGE()
|
||||
END
|
||||
END;
|
||||
Reference in New Issue
Block a user