Files
DP44/DataPRO/Modules/Database/DatabaseMigrationScripts/MigrationScripts/Version83/dbo.Alter_sp_TestSetupHardwareGet.sql
2026-04-17 14:55:32 -04:00

15 lines
1002 B
Transact-SQL
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
ALTER PROCEDURE [dbo].[sp_TestSetupHardwareGet]
@TestSetupId INT = NULL
AS
BEGIN
SET NOCOUNT ON;
IF( @TestSetupId IS NULL)
BEGIN
SELECT TestSetupHardwareId, DASId, TestSetupId, AddOrRemove, SamplesPerSecond, IsClockMaster, AntiAliasFilterRate FROM [dbo].TestSetupHardware
END
ELSE
BEGIN
SELECT TestSetupHardwareId, DASId, TestSetupId, AddOrRemove, SamplesPerSecond, IsClockMaster, AntiAliasFilterRate FROM [dbo].TestSetupHardware WHERE [TestSetupId]=@TestSetupId
END
END;