This commit is contained in:
2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
DROP PROCEDURE IF EXISTS sp_ElozoTanevesViewokTorlese
GO
CREATE PROCEDURE sp_ElozoTanevesViewokTorlese
@pintezmenyId INT
,@pintezmenyAzonosito NVARCHAR(MAX)
,@pkovTanevId INT
WITH EXECUTE AS 'kreta_tech_user'
AS
BEGIN
SET NOCOUNT ON
DECLARE @schemaName nvarchar(max) = CONCAT(N'KR_', @pintezmenyAzonosito, N'_Schema')
EXEC dev.uspDeleteViewsAll @schemaName
EXEC dev.uspCreateSchemaViews
@pTables = NULL
,@pSchemas = @schemaName
,@pDebugMode = 0
END
GO