1
0
mirror of https://github.com/bitwarden/server synced 2026-01-15 06:53:26 +00:00
Files
server/src/Sql/dbo/Stored Procedures/SsoConfig_ReadByIdentifier.sql
Matt Portune 0f008435ba sproc tweak
2020-06-24 13:59:00 -04:00

15 lines
311 B
Transact-SQL

CREATE PROCEDURE [dbo].[SsoConfig_ReadByIdentifier]
@Identifier NVARCHAR(50)
AS
BEGIN
SET NOCOUNT ON
SELECT TOP 1
SSO.*
FROM
[dbo].[SsoConfigView] SSO
INNER JOIN
[dbo].[Organization] O ON O.[Id] = SSO.[OrganizationId]
AND O.[Identifier] = @Identifier
END