mirror of
https://github.com/bitwarden/server.git
synced 2024-12-05 14:23:30 +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
|