mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
18 lines
290 B
MySQL
18 lines
290 B
MySQL
|
CREATE OR ALTER PROCEDURE [dbo].[OrganizationDomain_ReadByIdOrganizationId]
|
||
|
@Id UNIQUEIDENTIFIER,
|
||
|
@OrganizationId UNIQUEIDENTIFIER
|
||
|
AS
|
||
|
BEGIN
|
||
|
SET NOCOUNT ON
|
||
|
|
||
|
SELECT
|
||
|
*
|
||
|
FROM
|
||
|
[dbo].[OrganizationDomain]
|
||
|
WHERE
|
||
|
[Id] = @Id
|
||
|
AND
|
||
|
[OrganizationId] = @OrganizationId
|
||
|
END
|
||
|
GO
|