Prepara ambiente XWMS isolato e documenta gli stati UDC

This commit is contained in:
2026-10-29 16:13:27 +01:00
parent a874d09e40
commit f96da60231
44 changed files with 2047 additions and 274 deletions

View File

@@ -1,3 +1,6 @@
-- XWMS LOCAL TEST ONLY. Never run against the stable databases.
USE [Xwmsdb];
GO
SELECT * FROM vViewMappaturaDescrizioneCorsia WHERE ( Area > 0) ORDER BY Area Desc
SELECT * FROM Celle WHERE ( ID > 0) ORDER BY ID Desc
@@ -26,16 +29,16 @@ USE master;
GO
-- (facoltativo) terminare connessioni attive
ALTER DATABASE SAMA1 SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
ALTER DATABASE SAMA1_Xwmstest SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
GO
-- Ripristino dal tuo snapshot
RESTORE DATABASE SAMA1
RESTORE DATABASE SAMA1_Xwmstest
FROM DATABASE_SNAPSHOT = 'SAMA1_SNAP_20251014_112623';
GO
-- Riporta il DB in multi-user
ALTER DATABASE SAMA1 SET MULTI_USER;
ALTER DATABASE SAMA1_Xwmstest SET MULTI_USER;
GO