mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
16 lines
306 B
MySQL
16 lines
306 B
MySQL
|
CREATE OR ALTER PROCEDURE [dbo].[Provider_ReadByOrganizationId]
|
||
|
@OrganizationId UNIQUEIDENTIFIER
|
||
|
AS
|
||
|
BEGIN
|
||
|
SET NOCOUNT ON
|
||
|
|
||
|
SELECT
|
||
|
P.*
|
||
|
FROM
|
||
|
[dbo].[ProviderView] P
|
||
|
INNER JOIN
|
||
|
[dbo].[ProviderOrganization] PO ON PO.[ProviderId] = P.[Id]
|
||
|
WHERE
|
||
|
PO.[OrganizationId] = @OrganizationId
|
||
|
END
|
||
|
GO
|