mirror of
https://github.com/bitwarden/server.git
synced 2024-12-24 17:17:40 +01:00
21 lines
368 B
MySQL
21 lines
368 B
MySQL
|
IF OBJECT_ID('[dbo].[Organization_ReadByIdentifier]') IS NOT NULL
|
|||
|
BEGIN
|
|||
|
DROP PROCEDURE [dbo].[Organization_ReadByIdentifier]
|
|||
|
END
|
|||
|
GO
|
|||
|
|
|||
|
CREATE PROCEDURE [dbo].[Organization_ReadByIdentifier]
|
|||
|
@Identifier NVARCHAR(50)
|
|||
|
AS
|
|||
|
BEGIN
|
|||
|
SET NOCOUNT ON
|
|||
|
|
|||
|
SELECT
|
|||
|
*
|
|||
|
FROM
|
|||
|
[dbo].[OrganizationView]
|
|||
|
WHERE
|
|||
|
[Identifier] = @Identifier
|
|||
|
END
|
|||
|
GO
|