mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +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
|