/*
Rollback SQL - rimozione viste storiche picking list Python.

Non tocca oggetti C# legacy.
*/

IF OBJECT_ID(N'dbo.py_XMag_ViewPackingListStorico', N'V') IS NOT NULL
    DROP VIEW dbo.py_XMag_ViewPackingListStorico;
GO

IF OBJECT_ID(N'dbo.py_vPreparaPackingList', N'V') IS NOT NULL
    DROP VIEW dbo.py_vPreparaPackingList;
GO

IF OBJECT_ID(N'dbo.py_vPreparaPackingListSAMA1', N'V') IS NOT NULL
    DROP VIEW dbo.py_vPreparaPackingListSAMA1;
GO

PRINT 'Viste storiche Python rimosse.';
GO
