mirror of
https://github.com/bitwarden/server.git
synced 2025-04-12 08:38:13 -05:00
16 lines
283 B
Transact-SQL
16 lines
283 B
Transact-SQL
CREATE PROCEDURE [dbo].[Device_ReadByIdentifierUserId]
|
|
@UserId UNIQUEIDENTIFIER,
|
|
@Identifier NVARCHAR(50)
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
SELECT
|
|
*
|
|
FROM
|
|
[dbo].[DeviceView]
|
|
WHERE
|
|
[UserId] = @UserId
|
|
AND [Identifier] = @Identifier
|
|
END
|