--INSERT INTO [diunabi-morska].[dbo].[Layers] 
--([Id], [Number], [Source], [Name], [CreatedAt], [ModifiedAt], [IsDeleted], 
--[CreatedById], [ModifiedById], [Type])
--VALUES ('2cadf61e-2653-4cda-aaef-d59e9e4c1c26', 84, 'Manual', 'L84-A-IW_PU-2023/10-202310031948',
--GETDATE(), GETDATE(), 0, '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 2);
----
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('1e6b8736-5125-4c00-8da7-1bd7182ef49d', 'StartDate', '2023.09.30',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('608af36d-6a01-454f-94dc-1ac549f84d5f', 'EndDate', '2023.11.05',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('d839d2d7-d655-4fef-b690-e58ee96e5d8c', 'Source', 'GoogleSheet',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('0be4c79e-31d4-4542-99f0-a053d5cf36e1', 'SheetTabName', 'Pazdziernik_2023',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('6bdf8b46-cb77-4b7c-a647-3236992ad2bd', 'SheetId', '1gnJhqdlL622GOJEuAiVzxJu1N1ZlSb4a-JvGB1rwHAo', 
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('a8cf688f-7996-4dda-8ede-4c0d57067684', 'DataRange', 'D4:AS5',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('56b2eec0-6aec-499f-b1bc-d4967a51191e', 'ImportName', 'D3',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('0b08633b-9857-404b-9b47-ae0d79e2e9d7', 'ImportMonth', 'F3',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('44a34bf2-f870-4d64-82db-4d7071ddffe5', 'ImportYear', 'E3',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('c6ac4715-a4ad-464a-9597-7e6a4fdc5208', 'CheckSum', 'G3',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '2cadf61e-2653-4cda-aaef-d59e9e4c1c26');
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ('eb79a132-dd99-4e97-b3ba-5e2544bc921c', 'Type', 'ImportWorker',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, '1d4ad0b1-2a36-413d-838d-881b2f7cc8dc');
--

--DELETE FROM [diunabi-morska].[dbo].[Records] WHERE [LayerId] = 'bb4cc1ae-a94e-424d-9aa3-08dbba1c92b1';
--DELETE FROM [diunabi-morska].[dbo].[Layers] WHERE [Id] = 'bb4cc1ae-a94e-424d-9aa3-08dbba1c92b1';


--DECLARE @LayerId UNIQUEIDENTIFIER;
--SET @LayerId = '306654d6-cdab-4fbb-b7f7-312093a0f178';
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ((SELECT NEWID()), 'Source', 'L83-A-IW_M7-2023/10-202310031937',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, (SELECT @LayerId));
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ((SELECT NEWID()), 'Type', 'ProcessWorker',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, (SELECT @LayerId));
--
--INSERT INTO [diunabi-morska].[dbo].[Records] 
--([Id], [Code], [Desc1], [CreatedAt], [ModifiedAt], [CreatedById], [ModifiedById], [IsDeleted], [LayerId])
--VALUES ((SELECT NEWID()), 'ProcessType', 'Copy',
--GETDATE(), GETDATE(), '117be4f0-b5d1-41a1-a962-39dc30cce368', '117be4f0-b5d1-41a1-a962-39dc30cce368', 0, (SELECT @LayerId));