By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
4 rows affected
CREATE OR ALTER VIEW dbo.SomeViewName
AS
SELECT * FROM dbo.[DeviceLogs_7_2022]
UNION ALL
SELECT * FROM dbo.[DeviceLogs_8_2022]
id |
---|
1 |
2 |
3 |
4 |