mirror of
https://github.com/bitwarden/server.git
synced 2024-12-05 14:23:30 +01:00
17 lines
300 B
MySQL
17 lines
300 B
MySQL
|
CREATE OR ALTER PROCEDURE [dbo].[OrganizationConnection_ReadByIdOrganizationId]
|
||
|
@Id UNIQUEIDENTIFIER,
|
||
|
@OrganizationId UNIQUEIDENTIFIER
|
||
|
AS
|
||
|
BEGIN
|
||
|
SET NOCOUNT ON
|
||
|
|
||
|
SELECT
|
||
|
*
|
||
|
FROM
|
||
|
[dbo].[OrganizationConnectionView]
|
||
|
WHERE
|
||
|
[Id] = @Id AND
|
||
|
[OrganizationId] = @OrganizationId
|
||
|
END
|
||
|
GO
|