- USE [125WS]
- GO
- /****** Object: StoredProcedure [dbo].[spGetUniqueIdByAgent] Script Date: 8/16/2025 2:37:40 PM ******/
- SET ANSI_NULLS ON
- GO
- SET QUOTED_IDENTIFIER ON
- GO
- ALTER PROCEDURE [dbo].[spGetUniqueIdByAgent]
- @Agent NVARCHAR(100),
- @UniqueId int OUTPUT
- AS
- BEGIN
- SET NOCOUNT ON;
- SELECT TOP 1 @UniqueId = UniqueId
- FROM [dbo].[CallInfo]
- WHERE AgentId = @Agent
- END
Recent Pastes