Pulizia ignore dirs
git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@191 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
Binary file not shown.
@@ -1,132 +0,0 @@
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.xml
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.pdb
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\ResolveAssemblyReference.cache
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.dll
|
||||
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.xml
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.pdb
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.dll
|
||||
C:\Users\ermanno.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_data.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\SteamWare.xml
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\System.Web.Ajax.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\ResolveAssemblyReference.cache
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_site.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_data.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\SteamWare.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\Flesk.ViewState.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\SteamWare.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\SteamWare.xml
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_data.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.csprojResolveAssemblyReference.cache
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\SanitizerProviders.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -1,31 +0,0 @@
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_site.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_data.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\SteamWare.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\Flesk.ViewState.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ICSharpCode.SharpZipLib.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\GIM_data.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ar\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\cs\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\de\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\es\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\fr\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\he\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\hi\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\it\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ja\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ko\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\nl\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\pt\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\ru\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Somaschini\GIM_site.csprojResolveAssemblyReference.cache
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Somaschini\RdlCompile.cache
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Somaschini\RdlCompile.compiled
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Somaschini\GIM_site.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\obj\Somaschini\GIM_site.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\WebGIM\GIM_site\bin\SanitizerProviders.dll
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,420 +0,0 @@
|
||||
/****************************************************************
|
||||
* SteamWare s.r.l.
|
||||
*
|
||||
* Setup iniziale DB applicazione WebGIM con eliminazione oggetti
|
||||
*
|
||||
* modificato: 2009-01-23 S.E.L.
|
||||
*
|
||||
****************************************************************/
|
||||
|
||||
/* elimino funzioni */
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
IF NOT object_id('f_padLeft') IS NULL
|
||||
DROP FUNCTION f_padLeft
|
||||
GO
|
||||
|
||||
IF NOT object_id('rightDivision') IS NULL
|
||||
DROP FUNCTION rightDivision
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* elimino stored */
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_clonaImpianto') IS NULL
|
||||
DROP PROCEDURE sp_clonaImpianto
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_clonaMacchina') IS NULL
|
||||
DROP PROCEDURE sp_clonaMacchina
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_elencoIntMTBF_MTTR') IS NULL
|
||||
DROP PROCEDURE sp_elencoIntMTBF_MTTR
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_insRichiesta') IS NULL
|
||||
DROP PROCEDURE sp_insRichiesta
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_procStatEv') IS NULL
|
||||
DROP PROCEDURE sp_procStatEv
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_setPresaInCarico') IS NULL
|
||||
DROP PROCEDURE sp_setPresaInCarico
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_spostaMacchina') IS NULL
|
||||
DROP PROCEDURE sp_spostaMacchina
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_updateIntervento') IS NULL
|
||||
DROP PROCEDURE sp_updateIntervento
|
||||
GO
|
||||
|
||||
IF NOT object_id('sp_updateInterventoFull') IS NULL
|
||||
DROP PROCEDURE sp_updateInterventoFull
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* elimino le viste... */
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_datiMTBFMTTR') IS NULL
|
||||
DROP VIEW v_datiMTBFMTTR
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_elencoImpiantiMacchine') IS NULL
|
||||
DROP VIEW v_elencoImpiantiMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_elencoIntervFilt') IS NULL
|
||||
DROP VIEW v_elencoIntervFilt
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_interventiErogati') IS NULL
|
||||
DROP VIEW v_interventiErogati
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_intervExp') IS NULL
|
||||
DROP VIEW v_intervExp
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_macchine') IS NULL
|
||||
DROP VIEW v_macchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_mtzProgExp') IS NULL
|
||||
DROP VIEW v_mtzProgExp
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selAmbiti') IS NULL
|
||||
DROP VIEW v_selAmbiti
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selCausaliMacchine') IS NULL
|
||||
DROP VIEW v_selCausaliMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selFamMacc') IS NULL
|
||||
DROP VIEW v_selFamMacc
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selFreq') IS NULL
|
||||
DROP VIEW v_selFreq
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selImpianti') IS NULL
|
||||
DROP VIEW v_selImpianti
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selMacchine') IS NULL
|
||||
DROP VIEW v_selMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selPeriodiTrad') IS NULL
|
||||
DROP VIEW v_selPeriodiTrad
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selPrior') IS NULL
|
||||
DROP VIEW v_selPrior
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selSemafori') IS NULL
|
||||
DROP VIEW v_selSemafori
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selStato') IS NULL
|
||||
DROP VIEW v_selStato
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_selTipoGuasto') IS NULL
|
||||
DROP VIEW v_selTipoGuasto
|
||||
GO
|
||||
|
||||
IF NOT object_id('v_vocabolario') IS NULL
|
||||
DROP VIEW v_vocabolario
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*Svuoto eventuali tabelle già presenti...*/
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagAmbitoGuasto') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagAmbitoGuasto
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagAmbitoGuasto') IS NULL
|
||||
DROP TABLE AnagAmbitoGuasto
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Causali2FamMacchine_AnagCausali') IS NULL
|
||||
|
||||
ALTER TABLE Causali2FamMacchine DROP
|
||||
CONSTRAINT FK_Causali2FamMacchine_AnagCausali
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagCausali') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagCausali
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagCausali') IS NULL
|
||||
DROP TABLE AnagCausali
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Tra_Ev2Stati_AnagEventi') IS NULL
|
||||
|
||||
ALTER TABLE Tra_Ev2Stati DROP
|
||||
CONSTRAINT FK_Tra_Ev2Stati_AnagEventi
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagEventi') IS NULL
|
||||
DROP TABLE AnagEventi
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Causali2FamMacchine_AnagFamMacchine') IS NULL
|
||||
|
||||
ALTER TABLE Causali2FamMacchine DROP
|
||||
CONSTRAINT FK_Causali2FamMacchine_AnagFamMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Macchine2FamMacchine_AnagFamMacchine') IS NULL
|
||||
|
||||
ALTER TABLE Macchine2FamMacchine DROP
|
||||
CONSTRAINT FK_Macchine2FamMacchine_AnagFamMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagFamMacchine') IS NULL
|
||||
DROP TABLE AnagFamMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_MtzProgrammata_AnagFrequenze') IS NULL
|
||||
|
||||
ALTER TABLE MtzProgrammata DROP
|
||||
CONSTRAINT FK_MtzProgrammata_AnagFrequenze
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagFrequenze') IS NULL
|
||||
DROP TABLE AnagFrequenze
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_FiltroImpianti_AnagImpianti') IS NULL
|
||||
|
||||
ALTER TABLE FiltroImpianti DROP
|
||||
CONSTRAINT FK_FiltroImpianti_AnagImpianti
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagImpianti') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagImpianti
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_AnagMacchine_AnagImpianti') IS NULL
|
||||
|
||||
ALTER TABLE AnagMacchine DROP
|
||||
CONSTRAINT FK_AnagMacchine_AnagImpianti
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagImpianti') IS NULL
|
||||
DROP TABLE AnagImpianti
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_MtzProgrammata_AnagMacchine') IS NULL
|
||||
|
||||
ALTER TABLE MtzProgrammata DROP
|
||||
CONSTRAINT FK_MtzProgrammata_AnagMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_FiltroMacchine_AnagMacchine') IS NULL
|
||||
|
||||
ALTER TABLE FiltroMacchine DROP
|
||||
CONSTRAINT FK_FiltroMacchine_AnagMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagMacchine') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Macchine2FamMacchine_AnagMacchine') IS NULL
|
||||
|
||||
ALTER TABLE Macchine2FamMacchine DROP
|
||||
CONSTRAINT FK_Macchine2FamMacchine_AnagMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagMacchine') IS NULL
|
||||
DROP TABLE AnagMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagPeriodi') IS NULL
|
||||
DROP TABLE AnagPeriodi
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagPriorita') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagPriorita
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagPriorita') IS NULL
|
||||
DROP TABLE AnagPriorita
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagSemafori') IS NULL
|
||||
DROP TABLE AnagSemafori
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Tra_Ev2Stati_AnagStati') IS NULL
|
||||
|
||||
ALTER TABLE Tra_Ev2Stati DROP
|
||||
CONSTRAINT FK_Tra_Ev2Stati_AnagStati
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_FiltroStati_AnagStati') IS NULL
|
||||
|
||||
ALTER TABLE FiltroStati DROP
|
||||
CONSTRAINT FK_FiltroStati_AnagStati
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagStati') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagStati
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagStati') IS NULL
|
||||
DROP TABLE AnagStati
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventiMtz_AnagTipoGuasto') IS NULL
|
||||
|
||||
ALTER TABLE InterventiMtz DROP
|
||||
CONSTRAINT FK_InterventiMtz_AnagTipoGuasto
|
||||
GO
|
||||
|
||||
IF NOT object_id('AnagTipoGuasto') IS NULL
|
||||
DROP TABLE AnagTipoGuasto
|
||||
GO
|
||||
|
||||
IF NOT object_id('CalendFesteFerie') IS NULL
|
||||
DROP TABLE CalendFesteFerie
|
||||
GO
|
||||
|
||||
IF NOT object_id('Causali2FamMacchine') IS NULL
|
||||
DROP TABLE Causali2FamMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FiltroImpianti') IS NULL
|
||||
DROP TABLE FiltroImpianti
|
||||
GO
|
||||
|
||||
IF NOT object_id('FiltroMacchine') IS NULL
|
||||
DROP TABLE FiltroMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('FiltroStati') IS NULL
|
||||
DROP TABLE FiltroStati
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_InterventoOpMtz_InterventiMtz') IS NULL
|
||||
|
||||
ALTER TABLE InterventoOpMtz DROP
|
||||
CONSTRAINT FK_InterventoOpMtz_InterventiMtz
|
||||
GO
|
||||
|
||||
IF NOT object_id('InterventiMtz') IS NULL
|
||||
DROP TABLE InterventiMtz
|
||||
GO
|
||||
|
||||
IF NOT object_id('InterventoOpMtz') IS NULL
|
||||
DROP TABLE InterventoOpMtz
|
||||
GO
|
||||
|
||||
IF NOT object_id('LogUpdateDb') IS NULL
|
||||
DROP TABLE LogUpdateDb
|
||||
GO
|
||||
|
||||
IF NOT object_id('Macchine2FamMacchine') IS NULL
|
||||
DROP TABLE Macchine2FamMacchine
|
||||
GO
|
||||
|
||||
IF NOT object_id('MtzProgPending') IS NULL
|
||||
DROP TABLE MtzProgPending
|
||||
GO
|
||||
|
||||
IF NOT object_id('MtzProgrammata') IS NULL
|
||||
DROP TABLE MtzProgrammata
|
||||
GO
|
||||
|
||||
IF NOT object_id('OreAperturaSett') IS NULL
|
||||
DROP TABLE OreAperturaSett
|
||||
GO
|
||||
|
||||
IF NOT object_id('FK_Permessi2Funzione_Permessi') IS NULL
|
||||
|
||||
ALTER TABLE Permessi2Funzione DROP
|
||||
CONSTRAINT FK_Permessi2Funzione_Permessi
|
||||
GO
|
||||
|
||||
IF NOT object_id('Permessi') IS NULL
|
||||
DROP TABLE Permessi
|
||||
GO
|
||||
|
||||
IF NOT object_id('Permessi2Funzione') IS NULL
|
||||
DROP TABLE Permessi2Funzione
|
||||
GO
|
||||
|
||||
IF NOT object_id('Tra_Ev2Stati') IS NULL
|
||||
DROP TABLE Tra_Ev2Stati
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,991 +0,0 @@
|
||||
/****************************************************************
|
||||
* SteamWare s.r.l.
|
||||
*
|
||||
* Setup iniziale DB WebGIM con valorizzazione valori di default
|
||||
*
|
||||
* modificato: 2009-01-13 S.E.L.
|
||||
*
|
||||
****************************************************************/
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagAmbitoGuasto ON
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (1, N'non definito')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (2, N'usura')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (3, N'accidentale - urti')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (4, N'set-up')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (5, N'rottura inserto')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (6, N'mancanza energia')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (7, N'Mtz programmata')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (8, N'errata programmazione')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (9, N'pulizia')
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagAmbitoGuasto OFF
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagEventi
|
||||
VALUES (1, N'Presa in carico')
|
||||
INSERT INTO dbo.AnagEventi
|
||||
VALUES (2, N'Conclusione intervento')
|
||||
INSERT INTO dbo.AnagEventi
|
||||
VALUES (3, N'Annullamento intervento')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagFamMacchine ON
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (1, N'Tornitrici MonoMandrino')
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (2, N'Foratrici')
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (3, N'Lappatrici')
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (4, N'Impianto Elettrico')
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (5, N'Impianto Pneumatico')
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (6, N'Impianto Idraulico')
|
||||
INSERT INTO dbo.AnagFamMacchine
|
||||
(idxFamMacchine, nomeFamMacch)
|
||||
VALUES (7, N'Raccolta sfrido')
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagFamMacchine OFF
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagImpianti ON
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (1, N'MTZ', N'Manutenzione', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (2, N'STRUM', N'Strumenti di misura /Controllo', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (3, N'TORN', N'Tornitura', N'Reparto', '2009-01-01 00:00:00.000', '2018-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (4, N'DEN', N'Dentatura', N'Reparto', '2009-01-01 00:00:00.000', '2018-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (5, N'DENGLE', N'Dentatura Gleason', N'Reparto', '2009-01-01 00:00:00.000', '2018-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (6, N'CLAV', N'Centri di lavoro', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (7, N'CTS', N'Centratura Intestatura / Taglio Seghetti', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (8, N'TRA', N'Trapani', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (9, N'SBA', N'Sbavatrici', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (10, N'REINT', N'Rettifiche Interne', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (11, N'REEXT', N'Rettifiche Esterne', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (12, N'TORFIN', N'Tornitura Finitura', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (13, N'REDENT', N'Rettifiche Denti', N'Reparto', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (14, N'LOG', N'Logistica', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (15, N'IMP', N'Impianti e Servizi', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
INSERT INTO dbo.AnagImpianti
|
||||
(idxImpianto, codImpianto, nomeImpianto, tipoImpianto, funzDal, funzAl)
|
||||
VALUES (16, N'SI', N'Sistemi Informatici', N'VIRTUALE', '1900-01-01 00:00:00.000', '2100-12-31 00:00:00.000')
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagImpianti OFF
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagMacchine ON
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (3, 7, N'--SE/1', N'Segatrice a nastro', N'DAITO GA 260 W', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (4, 7, N'--SE/2', N'Segatrice a nastro', N'DAITO GA 260 W', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (5, 3, N'--EM/7', N'Tornio verticale CN con caricatore', N'EMAG VSC 7', NULL, 2007, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (6, 3, N'--DT20', N'Tornio a 2 teste CN con portale (isola LP1)', N'MAZAK DT20', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (7, 3, N'EM3152', N'Tornio verticale CN con caricatore', N'EMAG VSC 315', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (8, 3, N'-EM400', N'Tornio verticale CN con caricatore', N'EMAG VSC 400', NULL, 1999, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (9, 3, N'MT5003', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (10, 3, N'-EM315', N'Tornio verticale CN con caricatore', N'EMAG VSC 315', NULL, 1997, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (11, 3, N'---PDF', N'Tornio frontale a 2 teste CN', N'PITTLER 200 CNC PDF', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (12, 3, N'MT5002', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (13, 3, N'-MT500', N'Tornio CN con portale', N'GRAZIANO MT500 CNC', NULL, 1994, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (14, 3, N'--P200', N'Tornio frontale a 2 teste CN con robot', N'PITTLER 200 CNC PETRA 1', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (15, 3, N'-OK165', N'Tornio frontale a 2 teste CN', N'OKUMA 165 CNC', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (16, 3, N'--P315', N'Tornio frontale a 2 teste CN', N'PITTLER 315 CNC PETRA 2', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (17, 3, N'--P250', N'Tornio frontale a 2 teste CN con robot', N'PITTLER 250 CNC PETRA 1', NULL, 1987, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (18, 3, N'--TP/1', N'Tornio parallelo', N'CMT URSUS 225', NULL, 1980, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (19, 3, N'--TP/2', N'Tornio parallelo', N'CMT URSUS 225', NULL, 1985, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (20, 3, N'-FELSO', N'Tornio verticale CN a 2 teste con caricatore', N'FELSOMAT FZ350', NULL, 2008, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (21, 8, N'-TMB/1', N'Trapano multiplo', N'BERARDI VB II Z', NULL, 1980, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (22, 8, N'-TMB/2', N'Trapano multiplo', N'BERARDI VB II Z', NULL, 1980, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (23, 8, N'---TMO', N'Trapano multiplo', N'OLIVETTI', NULL, 1978, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (24, 8, N'----TO', N'Trapano', N'OLIVETTI', NULL, 1975, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (25, 1, N'RECORD', N'Maschiatrice', N'RECORD', NULL, 1993, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (26, 1, N'---MJN', N'Maschiatrice', N'JOANNES', NULL, 1978, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (27, 1, N'--BV25', N'Brocciatrice', N'VARINELLI 1320', NULL, 1981, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (28, 1, N'--BMV6', N'Brocciatrice', N'VARINELLI 1600', NULL, 1980, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (29, 9, N'--GR/5', N'Sbavatrice GR/5', N'MPM SAG50/PN', NULL, 1978, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (30, 9, N'--GR/4', N'Sbavatrice GR/4', N'MINITOOLS MT600', NULL, 1990, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (31, 9, N'--GR/7', N'Smussatrice GR/7', N'RAVAGLIA', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (32, 9, N'--GR/8', N'Smussatrice GR/8', N'RAVAGLIA', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (33, 9, N'--GR/3', N'Sbavatrice GR/3', N'MPM', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (34, 9, N'N/D', N'Sbavatrice (in Isola LP1)', N'SAMPUTENSILI ', NULL, 2004, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (35, 9, N'---SCT', N'Sbavatrice', N'SAMPUTENSILI SCT3', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (36, 9, N'--GR/1', N'Sbavatrice GR/1', N'GRATOMAT KGG533', NULL, 1979, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (37, 9, N'--GR/2', N'Sbavatrice GR/2', N'GRATOMAT 300L', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (38, 6, N'-V5005', N'Centro di lavoro CN', N'DOOSAN VC500', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (39, 6, N'-V5004', N'Centro di lavoro CN', N'DOOSAN VC500', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (40, 6, N'--V500', N'Centro di lavoro CN', N'DAEWOO ACE VC500', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (41, 6, N'-V5002', N'Centro di lavoro CN', N'DAEWOO ACE VC500', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (42, 6, N'-V5003', N'Centro di lavoro CN', N'DAEWOO ACE VC500', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (43, 6, N'--V400', N'Centro di lavoro CN', N'DAEWOO ACE V400', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (44, 1, N'----MK', N'Fresatrice CN', N'MIKRON WF 31 CNC', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (45, 6, N'--V650', N'Centro di lavoro CN', N'DOOSAN MYNX 650', NULL, 2008, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (46, 4, N'-GP20A', N'Dentatrice a creatore CN con caricatore', N'GLEASON PFAUTER GP 200', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (47, 4, N'P180/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PA 180 CNC', NULL, 2001, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (48, 4, N'P300/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PE 300 CNC', NULL, 1997, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (49, 4, N'P250/1', N'Dentatrice a creatore CN con caricatore', N'PFAUTER PE 250 CNC', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (50, 4, N'H280C1', N'Dentatrice a creatore CN con caricatore', N'HURTH WF 280', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (51, 4, N'H280/1', N'Dentatrice a creatore', N'HURTH WF 280', NULL, 1983, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (52, 4, N'P160/1', N'Dentatrice a creatore CNC', N'PFAUTER P160 H/11', NULL, 1990, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (53, 4, N'P160H1', N'Dentatrice a creatore', N'PFAUTER P160 H/11', NULL, 1983, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (54, 4, N'P403/1', N'Dentatrice a creatore', N'PFAUTER P403', NULL, 1983, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (55, 4, N'P630/1', N'Dentatrice a creatore CNC', N'PFAUTER P630', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (56, 4, N'P400/1', N'Dentatrice a creatore', N'PFAUTER P400', NULL, 1972, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (57, 4, N'--LS/2', N'Dentatrice a stozzare con robot', N'LORENZ LS 200', NULL, 2001, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (58, 4, N'-SNJ/3', N'Dentatrice a stozzare', N'LORENZ SNJ 5 AUTO', NULL, 2001, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (59, 4, N'--LS/1', N'Dentatrice a stozzare', N'LORENZ LS 302', NULL, 1986, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (60, 4, N'-SN4/2', N'Dentatrice a stozzare', N'LORENZ SN 4', NULL, 1969, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (61, 4, N'-SNJ/1', N'Dentatrice a stozzare', N'LORENZ SNJ 5', NULL, 1962, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (62, 4, N'-SNJ/2', N'Dentatrice a stozzare', N'LORENZ SNJ 5', NULL, 1962, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (63, 11, N'STU1/1', N'Rettifica per esterni CN con caricatore (isol', N'STUDER ECO 1000', NULL, 2003, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (64, 11, N'K175/1', N'Rettifica per esterni CN', N'KELLENBERGER R 175 CN', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (65, 11, N'K175/2', N'Rettifica per esterni CN', N'KELLENBERGER R 175 CN', NULL, 1994, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (66, 11, N'--K125', N'Rettifica per esterni', N'KELLENBERGER R 125', NULL, 1987, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (67, 11, N'TA1018', N'Rettifica per esterni', N'TACCHELLA UM 1018', NULL, 1986, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (68, 11, N'-TA612', N'Rettifica per esterni', N'TACCHELLA UN 612', NULL, 1986, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (69, 1, N'-RE12K', N'Rettifica per alberi scanalati CN', N'F.W. REFORM KSA 1200 CN', NULL, 1990, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (70, 1, N'--RIT4', N'Rettifica per innesti', N'TACCHELLA 4 AM', NULL, 1986, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (71, 1, N'----FV', N'Rettifica piani a tavola rotante', N'FAVRETTO MR 75 CN', NULL, 1988, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (72, 1, N'----RC', N'Rettifica centri', N'TECHNICA ZSM 6-5100-810', NULL, 1994, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (73, 1, N'N/D', N'Rettifica filetti', N'REISHAUER US', NULL, 1981, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (74, 1, N'-RFMSO', N'Rettifica filetti', N'MSO GA-2', NULL, 1979, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (75, 1, N'N/D', N'Affilatrice per creatori rettifica filetti', N'REISHAUER US', NULL, 1981, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (76, 10, N'--VM40', N'Rettifica per interni CN', N'VOUMARD 403 Y CN', NULL, 2003, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (77, 10, N'--VM15', N'Rettifica per interni CN', N'VOUMARD 150 CNC', NULL, 2002, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (78, 10, N'--VM5N', N'Rettifica per interni CN', N'VOUMARD 5N CN', NULL, 1999, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (79, 10, N'-MRE44', N'Rettifica per interni CN', N'MORARA 700 CN', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (80, 10, N'--MRIE', N'Rettifica per interni CN', N'MORARA MICRO I-E CN', NULL, 1987, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (81, 10, N'-VM5/1', N'Rettifica per interni', N'VOUMARD 5A', NULL, 1978, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (82, 10, N'-VM5/2', N'Rettifica per interni', N'VOUMARD 5A', NULL, 1979, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (83, 10, N'-VM5/3', N'Rettifica per interni', N'VOUMARD 5A', NULL, 1980, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (84, 10, N'-IC2MC', N'Rettifica per interni CN (in isola LP2)', N'MORARA I/C 2M', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (85, 1, N'--SN/2', N'Lappatrice (in isola LP2)', N'SUNNEN ML-2000', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (86, 1, N'----SN', N'Lappatrice', N'SUNNEN MBB1680A', NULL, 1983, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (87, 1, N'-RZ400', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', NULL, 2005, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (88, 1, N'RZ4002', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', NULL, 2006, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (89, 1, N'RZ4003', N'Rettifica denti CN con robot', N'REISHAUER RZ 400', NULL, 2008, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (90, 1, N'-RZ150', N'Rettifica denti CN con robot', N'REISHAUER RZ 150', NULL, 2003, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (91, 1, N'-RZ362', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', NULL, 1997, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (92, 1, N'RZ362C', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (93, 1, N'RZ362P', N'Rettifica denti CN ', N'REISHAUER RZ 362 A', NULL, 2000, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (94, 1, N'--RZ/2', N'Rettifica denti elettronica', N'REISHAUER RZ 300 E', NULL, 1996, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (95, 1, N'-RZ820', N'Rettifica denti CN', N'REISHAUER RZ 820 CN', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (96, 1, N'--RZAS', N'Rettifica denti CN', N'REISHAUER RZ 301 AS CN', NULL, 1994, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (97, 1, N'---RZS', N'Rettifica denti CN', N'REISHAUER RZ 301 S CN', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (98, 1, N'----ZB', N'Rettifica denti', N'REISHAUER ZB', NULL, 1979, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (99, 1, N'-H20BU', N'Bilanciatrice CN', N'SCHENCK H280BU', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (100, 1, N'N/D', N'Lavatrice', N'CEMASTIR TURBO LC1000', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (101, 1, N'----GB', N'Raddrizzatrice', N'GALDABINI RPRS/25', NULL, 1970, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (102, 1, N'N/D', N'Diamantatrici per mole', N'REISHAUER AM10', NULL, 1987, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (103, 1, N'N/D', N'Diamantatrici per mole', N'REISHAUER AM10', NULL, 1987, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (104, 1, N'N/D', N'Bilanciatrice per mole', N'HOFFMAN', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (105, 1, N'--PR/2', N'Macchina piantaggio spine Mercedes Z92', N'NUOVA VAEP MA0079', NULL, 2006, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (106, 1, N'--PR/3', N'Macchina piantaggio spine Mercedes Z46', N'SOMASCHINI', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (107, 1, N'---STR', N'Punzonatrice a rullare', N'SOMAUT', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (108, 1, N'--ST/1', N'Punzonatrice', N'AUTOMATOR', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (109, 1, N'--ST/2', N'Punzonatrice', N'AUTOMATOR', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (110, 1, N'--PRCM', N'Pressa', N'CMP T150', NULL, 1999, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (111, 1, N'----PR', N'Pressa', N'OMCN 161/R T40', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (112, 1, N'N/D', N'Arrotondatrice per dentature', N'PICCO K15', NULL, 1980, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (113, 1, N'N/D', N'Dentatrice a creatore', N'PFAUTER RS9 KS', NULL, 1972, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (114, 1, N'N/D', N'Dentatrice conica spirale CN', N'GLEASON G175 CNC', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (115, 1, N'N/D', N'Dentatrice conica spirale CN', N'GLEASON 116 CNC', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (116, 1, N'N/D', N'Dentatrice conica spirale', N'GLEASON 106', NULL, 1989, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (117, 1, N'N/D', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 503', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (118, 1, N'N/D', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 119 HYPOID', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (119, 1, N'N/D', N'Lappatrice per coppie coniche Gleason', N'GLEASON LAPPER 6"', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (120, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 6"', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (121, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 17A', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (122, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 502', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (123, 2, N'N/D', N'Tester di controllo coppie coniche Gleason', N'TESTER 13', NULL, 1985, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (124, 11, N'N/D', N'Rettifica per esterni', N'MSO FH 300x500', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (125, 2, N'N/D', N'Centro CN di misurazione 3D', N'ZEISS PRISMO 9/12/7', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (126, 2, N'N/D', N'Centro CN di misurazione ingr.', N'HÖFLER ZP 630 CN', NULL, 1996, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (127, 2, N'N/D', N'Centro CN di misurazione ingr.', N'HÖFLER EMZ 632 CN', NULL, 1990, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (128, 2, N'N/D', N'Ingranometro', N'HÖFLER ZW630 CN', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (129, 2, N'N/D', N'Macchina prova rumorosità', N'HURTH ZP 300', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (130, 2, N'N/D', N'Rugosimetro', N'PERTHEN S5P', NULL, NULL, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (131, 2, N'N/D', N'Durometro', N'WOLPERT DIA-TESTOR 1551', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (132, 2, N'N/D', N'Durometro', N'REICHERTER', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (133, 2, N'N/D', N'Durometro', N'GALILEO', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (134, 2, N'N/D', N'Proiettore di profili', N'HAUSER', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (135, 2, N'N/D', N'Apparecchio altimetro digitale con controp.', N'DIGIMAR 817C', NULL, 1990, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (136, 2, N'N/D', N'Interassimetro', N'PARKSON', NULL, 0, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (137, 2, N'N/D', N'Apparecchio controllo conicita'' pneum./elettr.', N'STOTZ DLS-27', NULL, 1996, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (138, 2, N'N/D', N'Appararecchio controllo strumenti di misura', N'JOINT DMS 680', NULL, 1995, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (139, 1, N'N/D', N'Profilometro', N'MAHR - PERTHOMETER PRK', NULL, 1997, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (140, 2, N'N/D', N'Appararecchio prova bruciature', N'ROLLSCAN 200-1', NULL, 1997, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (141, 1, N'N/D', N'Apparecchio per coni', N'STOTZ - DLS 27 M1 (4 elementi)', NULL, 1997, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (142, 2, N'N/D', N'Altimetro', N'TESA - MICROHITE', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (143, 1, N'N/D', N'Troncatrice', N'IMPTECH - C 10', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (144, 1, N'N/D', N'Inglobatrice', N'BUEHLER - SIMPLIMET 2000', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (145, 1, N'N/D', N'Levigatrice', N'BUEHLER - METASERV 2000', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (146, 2, N'N/D', N'Microdurometro', N'FUTURE TECH - FM-7', NULL, 1998, 1, 1, NULL, NULL)
|
||||
INSERT INTO dbo.AnagMacchine
|
||||
(idxMacchina, idxImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo, funzDal, funzAl)
|
||||
VALUES (147, 2, N'N/D', N'Magnetoscopio per controllo ND', N'CGM ITALIA CEMSA FOS 1000', NULL, 2000, 1, 1, NULL, NULL)
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagMacchine OFF
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagSemafori
|
||||
VALUES (N'semaforoGiallo', N'Valore da verificare')
|
||||
INSERT INTO dbo.AnagSemafori
|
||||
VALUES (N'semaforoRosso', N'Errore/Attenzione')
|
||||
INSERT INTO dbo.AnagSemafori
|
||||
VALUES (N'semaforoVerde', N'Valore OK')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-01-01 00:00:00.000', N'primo dell''anno')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-01-06 00:00:00.000', N'epifania')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-04-12 00:00:00.000', N'Pasqua')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-04-13 00:00:00.000', N'Lunedì dell''angelo')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-04-25 00:00:00.000', N'festa della liberazione')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-05-01 00:00:00.000', N'festa dei lavoratori')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-06-02 00:00:00.000', N'festa della repubblica')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-08-15 00:00:00.000', N'ferragosto')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-11-02 00:00:00.000', N'festività dei morti')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-12-08 00:00:00.000', N'immacolata concezione')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-12-25 00:00:00.000', N'Natale')
|
||||
INSERT INTO dbo.CalendFesteFerie
|
||||
VALUES ('2009-12-26 00:00:00.000', N'S.Stefano')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (0, N'Dom', 2.00)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (1, N'Lun', 24.00)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (2, N'Mar', 24.00)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (3, N'Mer', 24.00)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (4, N'Gio', 24.00)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (5, N'Ven', 24.00)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (6, N'Sab', 22.00)
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagPriorita
|
||||
VALUES (1, N'Pericolo di infortunio', N'semaforoRosso')
|
||||
INSERT INTO dbo.AnagPriorita
|
||||
VALUES (2, N'Produzione Ferma', N'semaforoGiallo')
|
||||
INSERT INTO dbo.AnagPriorita
|
||||
VALUES (3, N'Intervento fine lavoro', N'semaforoVerde')
|
||||
INSERT INTO dbo.AnagPriorita
|
||||
VALUES (4, N'Intervento nel mese', N'semaforoVerde')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagStati
|
||||
VALUES (1, N'Richiesto', N'semaforoRosso')
|
||||
INSERT INTO dbo.AnagStati
|
||||
VALUES (2, N'In corso', N'semaforoGiallo')
|
||||
INSERT INTO dbo.AnagStati
|
||||
VALUES (3, N'Concluso', N'semaforoVerde')
|
||||
INSERT INTO dbo.AnagStati
|
||||
VALUES (4, N'Annullato', N'semaforoVerde')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagTipoGuasto ON
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagTipoGuasto
|
||||
(idxTipo, descrTipo)
|
||||
VALUES (1, N'elettrico')
|
||||
INSERT INTO dbo.AnagTipoGuasto
|
||||
(idxTipo, descrTipo)
|
||||
VALUES (2, N'meccanico')
|
||||
INSERT INTO dbo.AnagTipoGuasto
|
||||
(idxTipo, descrTipo)
|
||||
VALUES (3, N'pulizia')
|
||||
INSERT INTO dbo.AnagTipoGuasto
|
||||
(idxTipo, descrTipo)
|
||||
VALUES (4, N'servizi')
|
||||
GO
|
||||
|
||||
SET IDENTITY_INSERT dbo.AnagTipoGuasto OFF
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'0_freeSel', N'_freeSel')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'1_today', N'today')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'2_yesterday', N'yesterday')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'3_last_7', N'last_7')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'4_this_week', N'this_week')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'5_last_30', N'last_30')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'6_this_month', N'this_month')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'7_last_month', N'last_month')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'8_this_year', N'this_year')
|
||||
INSERT INTO dbo.AnagPeriodi
|
||||
VALUES (N'9_last_year', N'last_year')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADMIN', 'menu.aspx', 4, 0, 'Admin', 'Admin')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADMIN_vocab', 'vocabolario.aspx', 4, 1, 'Vocabolario', 'Vocabolario')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADV_MTZ', 'menu.aspx', 3, 0, 'AreaMtz', 'AreaMtzLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADV_MTZ_Impianti', 'report_impianti.aspx', 3, 2, 'reportImpianti', 'reportImpiantiLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADV_MTZ_Interactive', 'reportInteractive.aspx', 9993, 4, 'reportInterattivo', 'reportInterattivoLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADV_MTZ_Interventi', 'report_analisi.aspx', 3, 3, 'reportInterventi', 'reportInterventiLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ADV_MTZ_mtzProg', 'mtzProg.aspx', 3, 1, 'MtzProg', 'MtzProgLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG', 'menu.aspx', 1, 0, 'AnagraficheBase', 'AnagraficheBase')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_ambitiGuasto', 'anagAmbitiGuasto.aspx', 1, 1, 'AnagAmbitiGuasto', 'AnagAmbitiGuastoLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_aperturaImp', 'aperturaImpianti.aspx', 1, 9, 'AnagAperturaSett', 'AnagAperturaSettLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_assegnazioni', 'assegnazioniMacchineImpianti.aspx', 1, 5, 'AssegnMaccImp', 'AssegnMaccImpLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_calChiusura', 'calendChiusura.aspx', 1, 10, 'AnagCalChiusure', 'AnagCalChiusureLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_causali', 'gestioneCausali.aspx', 9991, 7, 'GestioneCausali', 'GestioneCausaliLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_famMacc', 'famiglieMacchine.aspx', 9991, 6, 'FamMacchine', 'FamMacchineLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_impianti', 'impianti.aspx', 1, 3, 'GestImpianti', 'GestImpiantiLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_macchine', 'macchine.aspx', 1, 4, 'GestMacchine', 'GestMacchineLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_priorita', 'priorita.aspx', 1, 2, 'AnagPriorita', 'AnagPrioritaLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('ANAG_tipo', 'tipoGuasto.aspx', 1, 8, 'AnagTipo', 'AnagTipoLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('HELP', 'menu.aspx', 5, 0, 'Help', 'HelpLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('HELP_support', 'help.aspx', 5, 1, 'HelpSupport', 'HelpSupportLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('RicMan', 'menu.aspx', 2, 0, 'RicManArea', 'RicManAreaLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('RicMan_edit', 'dettaglioIntervento.aspx', 999, 1, 'EditRicMan', 'EditRicManLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('RicMan_ins', 'insertRichiesta.aspx', 2, 1, 'InsRicMan', 'InsRicManLong')
|
||||
INSERT INTO dbo.Permessi
|
||||
VALUES ('RicMan_list', 'elencoRichieste.aspx', 2, 2, 'ElencoRichieste', 'ElencoRichiesteLong')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADMIN', N'GIM_AppAdmin', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADMIN_vocab', N'GIM_AppAdmin', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADV_MTZ', N'GIM_U', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADV_MTZ_Impianti', N'GIM_U', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADV_MTZ_Interactive', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADV_MTZ_Interventi', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ADV_MTZ_mtzProg', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_ambitiGuasto', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_aperturaImp', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_assegnazioni', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_calChiusura', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_causali', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_famMacc', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_impianti', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_macchine', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_priorita', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('ANAG_tipo', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('HELP', N'GIM_U', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('HELP_support', N'GIM_U', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('RicMan', N'GIM_U', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('RicMan_edit', N'GIM_SU', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('RicMan_ins', N'GIM_U', NULL)
|
||||
INSERT INTO dbo.Permessi2Funzione
|
||||
VALUES ('RicMan_list', N'GIM_U', NULL)
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Tra_Ev2Stati
|
||||
VALUES (1, 1, 2)
|
||||
INSERT INTO dbo.Tra_Ev2Stati
|
||||
VALUES (1, 2, 3)
|
||||
INSERT INTO dbo.Tra_Ev2Stati
|
||||
VALUES (1, 3, 4)
|
||||
INSERT INTO dbo.Tra_Ev2Stati
|
||||
VALUES (2, 2, 3)
|
||||
INSERT INTO dbo.Tra_Ev2Stati
|
||||
VALUES (2, 3, 4)
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.AnagFrequenze
|
||||
VALUES (N'dd', N'giorni')
|
||||
INSERT INTO dbo.AnagFrequenze
|
||||
VALUES (N'MM', N'mesi')
|
||||
INSERT INTO dbo.AnagFrequenze
|
||||
VALUES (N'ww', N'settimane')
|
||||
INSERT INTO dbo.AnagFrequenze
|
||||
VALUES (N'yy', N'anni')
|
||||
GO
|
||||
|
||||
COMMIT TRANSACTION
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(2, GETDATE())
|
||||
GO
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,38 +0,0 @@
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET ANSI_NULLS ON
|
||||
GO
|
||||
|
||||
ALTER VIEW v_elencoIntervFilt
|
||||
AS
|
||||
SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto,
|
||||
dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento,
|
||||
dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento, ISNULL(dbo.AnagCausali.descrCausale,
|
||||
'n.d. (causale)') AS descrCausale, ISNULL(dbo.v_interventiErogati.totMinErogati / 60, 0) AS minErogati, ISNULL(DATEDIFF(hour, dbo.InterventiMtz.inizioIntervento,
|
||||
dbo.InterventiMtz.fineIntervento), 0) AS durataMtz, CASE (isFermo) WHEN 1 THEN ISNULL(DATEDIFF(hour, dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento),
|
||||
0) WHEN 0 THEN ISNULL(DATEDIFF(hour, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) END AS durataOff, dbo.InterventiMtz.guasto,
|
||||
dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina
|
||||
FROM dbo.InterventiMtz INNER JOIN
|
||||
dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN
|
||||
dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN
|
||||
dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN
|
||||
dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN
|
||||
dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN
|
||||
dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN
|
||||
dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN
|
||||
dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale
|
||||
ORDER BY dbo.InterventiMtz.numIntMtz DESC
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(4, GETDATE())
|
||||
GO
|
||||
@@ -1,327 +0,0 @@
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET ANSI_NULLS ON
|
||||
GO
|
||||
|
||||
-- =============================================
|
||||
-- Author: Marco Salvi
|
||||
-- Create date: 11/03/2009
|
||||
-- Description: Stored procedure per ricostruire gli indici e fare lo shrink su un db
|
||||
-- =============================================
|
||||
CREATE PROCEDURE sp_IndiciAndShrink
|
||||
(
|
||||
@databaseName sysname
|
||||
)
|
||||
AS
|
||||
BEGIN
|
||||
|
||||
-- elimino eventuale tab temporanea preesistente
|
||||
IF (SELECT COUNT(*) FROM TEMPDB..SYSOBJECTS WHERE NAME = '##TMP_nomiTabelle') > 0
|
||||
BEGIN
|
||||
DROP TABLE ##TMP_nomiTabelle
|
||||
END
|
||||
|
||||
-- enumero le tab del db in una tab temporanea
|
||||
SELECT IDENT = IDENTITY (INT,1,1), NAME
|
||||
INTO ##TMP_nomiTabelle
|
||||
FROM sys.Tables
|
||||
|
||||
-- eseguo reindicizzazione
|
||||
DECLARE @VAR1 INT
|
||||
SET @VAR1 = 1
|
||||
WHILE @VAR1 < = ( SELECT COUNT(*) FROM ##TMP_nomiTabelle)
|
||||
BEGIN
|
||||
|
||||
DECLARE @OBJECTNAME VARCHAR(256)
|
||||
|
||||
-- carico il nome della tab i-esima
|
||||
SELECT @OBJECTNAME = NAME
|
||||
FROM ##TMP_nomiTabelle
|
||||
WHERE [IDENT] = @VAR1
|
||||
|
||||
-- rebuild indice
|
||||
DBCC DBREINDEX(@OBJECTNAME)
|
||||
|
||||
-- incremento
|
||||
SET @VAR1 = @VAR1 + 1
|
||||
|
||||
END
|
||||
|
||||
--shrink del db
|
||||
DBCC SHRINKDATABASE (@databaseName)
|
||||
|
||||
END
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
|
||||
SET xact_abort ON
|
||||
GO
|
||||
|
||||
BEGIN TRANSACTION
|
||||
GO
|
||||
|
||||
SET ANSI_NULLS ON
|
||||
GO
|
||||
|
||||
ALTER VIEW v_elencoIntervFilt
|
||||
AS
|
||||
SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto,
|
||||
dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento,
|
||||
dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento, ISNULL(dbo.AnagCausali.descrCausale,
|
||||
'n.d. (causale)') AS descrCausale, ROUND(CAST(ISNULL(dbo.v_interventiErogati.totMinErogati, 0) AS FLOAT) / 60, 2) AS minErogati,
|
||||
ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) AS FLOAT) / 60, 2) AS durataMtz, CASE (isFermo)
|
||||
WHEN 1 THEN ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento), 0) AS FLOAT) / 60, 2)
|
||||
WHEN 0 THEN ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) AS FLOAT) / 60, 2) END AS durataOff,
|
||||
dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina
|
||||
FROM dbo.InterventiMtz INNER JOIN
|
||||
dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN
|
||||
dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN
|
||||
dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN
|
||||
dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN
|
||||
dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN
|
||||
dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN
|
||||
dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN
|
||||
dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale
|
||||
ORDER BY dbo.InterventiMtz.numIntMtz DESC
|
||||
GO
|
||||
|
||||
EXEC sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
||||
Begin DesignProperties =
|
||||
Begin PaneConfigurations =
|
||||
Begin PaneConfiguration = 0
|
||||
NumPanes = 4
|
||||
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
||||
End
|
||||
Begin PaneConfiguration = 1
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 4 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 2
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 2 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 3
|
||||
NumPanes = 3
|
||||
Configuration = "(H (4 [30] 2 [40] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 4
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [56] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 5
|
||||
NumPanes = 2
|
||||
Configuration = "(H (2 [66] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 6
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [50] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 7
|
||||
NumPanes = 1
|
||||
Configuration = "(V (3))"
|
||||
End
|
||||
Begin PaneConfiguration = 8
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1[56] 4[18] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 9
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [75] 4))"
|
||||
End
|
||||
Begin PaneConfiguration = 10
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1[66] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 11
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [60] 2))"
|
||||
End
|
||||
Begin PaneConfiguration = 12
|
||||
NumPanes = 1
|
||||
Configuration = "(H (1) )"
|
||||
End
|
||||
Begin PaneConfiguration = 13
|
||||
NumPanes = 1
|
||||
Configuration = "(V (4))"
|
||||
End
|
||||
Begin PaneConfiguration = 14
|
||||
NumPanes = 1
|
||||
Configuration = "(V (2))"
|
||||
End
|
||||
ActivePaneConfig = 0
|
||||
End
|
||||
Begin DiagramPane =
|
||||
Begin Origin =
|
||||
Top = 0
|
||||
Left = 0
|
||||
End
|
||||
Begin Tables =
|
||||
Begin Table = "InterventiMtz"
|
||||
Begin Extent =
|
||||
Top = 8
|
||||
Left = 486
|
||||
Bottom = 354
|
||||
Right = 671
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagAmbitoGuasto"
|
||||
Begin Extent =
|
||||
Top = 11
|
||||
Left = 82
|
||||
Bottom = 89
|
||||
Right = 255
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagImpianti"
|
||||
Begin Extent =
|
||||
Top = 123
|
||||
Left = 219
|
||||
Bottom = 231
|
||||
Right = 370
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagMacchine"
|
||||
Begin Extent =
|
||||
Top = 190
|
||||
Left = 826
|
||||
Bottom = 298
|
||||
Right = 977
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagTipoGuasto"
|
||||
Begin Extent =
|
||||
Top = 90
|
||||
Left = 1143
|
||||
Bottom = 168
|
||||
Right = 1294
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagPriorita"
|
||||
Begin Extent =
|
||||
Top = 23
|
||||
Left = 958
|
||||
Bottom = 116
|
||||
Right = 1109
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagStati"
|
||||
Begin Extent =
|
||||
Top = 263
|
||||
Left = 90
|
||||
Bottom = 356
|
||||
Right = 241
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt'
|
||||
GO
|
||||
|
||||
EXEC sp_updateextendedproperty 'MS_DiagramPane2', ' End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "v_interventiErogati"
|
||||
Begin Extent =
|
||||
Top = 3
|
||||
Left = 739
|
||||
Bottom = 81
|
||||
Right = 890
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagCausali"
|
||||
Begin Extent =
|
||||
Top = 291
|
||||
Left = 1011
|
||||
Bottom = 369
|
||||
Right = 1162
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
End
|
||||
End
|
||||
Begin SQLPane =
|
||||
End
|
||||
Begin DataPane =
|
||||
Begin ParameterDefaults = ""
|
||||
End
|
||||
Begin ColumnWidths = 30
|
||||
Width = 284
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1665
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1575
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
End
|
||||
End
|
||||
Begin CriteriaPane =
|
||||
Begin ColumnWidths = 11
|
||||
Column = 1440
|
||||
Alias = 900
|
||||
Table = 1170
|
||||
Output = 720
|
||||
Append = 1400
|
||||
NewValue = 1170
|
||||
SortType = 1350
|
||||
SortOrder = 1410
|
||||
GroupBy = 1350
|
||||
Filter = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
End
|
||||
End
|
||||
End
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt'
|
||||
GO
|
||||
|
||||
COMMIT
|
||||
GO
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(5, GETDATE())
|
||||
GO
|
||||
@@ -1,434 +0,0 @@
|
||||
/* modifiche per gestione corretta reportistica x mtz preventiva o meno... */
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
alter table InterventiMtz add
|
||||
scheduled bit constraint DF_InterventiMtz_scheduled default (0)
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', 'indica se l''intervento sia stato generato da manutenzione programmata/preventiva', 'USER', 'dbo', 'TABLE', 'InterventiMtz', 'COLUMN', 'scheduled'
|
||||
go
|
||||
|
||||
update InterventiMtz set scheduled=0
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE sp_insRichiesta
|
||||
* Inserisce nuova richiesta di intervento
|
||||
*
|
||||
* modif.: S.E.L. - 2009.02.20
|
||||
**************************************/
|
||||
alter PROCEDURE sp_insRichiesta
|
||||
(
|
||||
@richiesta datetime,
|
||||
@dataLav datetime,
|
||||
@turnoLav int,
|
||||
@matr varchar(10),
|
||||
@guasto datetime,
|
||||
@idxAmbito int,
|
||||
@idxPriorita int,
|
||||
@isFermo bit,
|
||||
@idxTipo int,
|
||||
@idxImpianto int,
|
||||
@idxMacchina int,
|
||||
@descrizione varchar(500),
|
||||
@idxCausale int,
|
||||
@scheduled bit,
|
||||
@numIntMtz int output
|
||||
)
|
||||
AS
|
||||
|
||||
BEGIN tran
|
||||
|
||||
INSERT INTO InterventiMtz
|
||||
(richiesta, dataLav, turnoLav, matr, guasto, idxAmbito, idxPriorita, isFermo, idxTipo, idxImpianto, idxMacchina, descrizione, idxStato, idxCausale, scheduled)
|
||||
VALUES (@richiesta,@dataLav,@turnoLav,@matr,@guasto,@idxAmbito,@idxPriorita,@isFermo,@idxTipo,@idxImpianto,@idxMacchina,@descrizione,
|
||||
1,@idxCausale,@scheduled)
|
||||
|
||||
/*************************************
|
||||
* salvo idx del nuovo record
|
||||
**************************************/
|
||||
SET @numIntMtz = SCOPE_IDENTITY()
|
||||
|
||||
COMMIT tran
|
||||
|
||||
RETURN (@numIntMtz)
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
/* aggiorno: se Ambito Guasto è 7 allora è mtz Prog... */
|
||||
UPDATE InterventiMtz
|
||||
SET scheduled = 1
|
||||
WHERE (idxAmbito = 7)
|
||||
GO
|
||||
|
||||
|
||||
/* indici! */
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
create index i_username on FiltroImpianti(username)
|
||||
go
|
||||
|
||||
create index i_username on FiltroMacchine(username)
|
||||
go
|
||||
|
||||
create index i_username on FiltroStati(username)
|
||||
go
|
||||
|
||||
create index i_richiesta on InterventiMtz(richiesta)
|
||||
go
|
||||
|
||||
create index i_impianto on InterventiMtz(idxImpianto)
|
||||
go
|
||||
|
||||
create index i_macchina on InterventiMtz(idxMacchina)
|
||||
go
|
||||
|
||||
create index i_stato on InterventiMtz(idxStato)
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
/* update view */
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
alter VIEW v_elencoIntervFilt
|
||||
AS
|
||||
SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto,
|
||||
dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento,
|
||||
dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento,
|
||||
ISNULL(dbo.AnagCausali.descrCausale, 'n.d. (causale)') AS descrCausale, ROUND(CAST(ISNULL(dbo.v_interventiErogati.totMinErogati, 0) AS float) / 60, 2)
|
||||
AS minErogati, ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) AS float) / 60, 2) AS durataMtz,
|
||||
CASE (isFermo) WHEN 1 THEN ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento), 0) AS float) / 60, 2)
|
||||
WHEN 0 THEN ROUND(CAST(ISNULL(DATEDIFF(minute, dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento), 0) AS float) / 60, 2) END AS durataOff,
|
||||
dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina, dbo.InterventiMtz.isFermo,
|
||||
dbo.InterventiMtz.scheduled
|
||||
FROM dbo.InterventiMtz INNER JOIN
|
||||
dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN
|
||||
dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN
|
||||
dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN
|
||||
dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN
|
||||
dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN
|
||||
dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN
|
||||
dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN
|
||||
dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale
|
||||
ORDER BY dbo.InterventiMtz.numIntMtz DESC
|
||||
go
|
||||
|
||||
exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
||||
Begin DesignProperties =
|
||||
Begin PaneConfigurations =
|
||||
Begin PaneConfiguration = 0
|
||||
NumPanes = 4
|
||||
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
||||
End
|
||||
Begin PaneConfiguration = 1
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 4 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 2
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 2 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 3
|
||||
NumPanes = 3
|
||||
Configuration = "(H (4 [30] 2 [40] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 4
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [56] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 5
|
||||
NumPanes = 2
|
||||
Configuration = "(H (2 [66] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 6
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [50] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 7
|
||||
NumPanes = 1
|
||||
Configuration = "(V (3))"
|
||||
End
|
||||
Begin PaneConfiguration = 8
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1[56] 4[18] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 9
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [75] 4))"
|
||||
End
|
||||
Begin PaneConfiguration = 10
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1[66] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 11
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [60] 2))"
|
||||
End
|
||||
Begin PaneConfiguration = 12
|
||||
NumPanes = 1
|
||||
Configuration = "(H (1) )"
|
||||
End
|
||||
Begin PaneConfiguration = 13
|
||||
NumPanes = 1
|
||||
Configuration = "(V (4))"
|
||||
End
|
||||
Begin PaneConfiguration = 14
|
||||
NumPanes = 1
|
||||
Configuration = "(V (2))"
|
||||
End
|
||||
ActivePaneConfig = 0
|
||||
End
|
||||
Begin DiagramPane =
|
||||
Begin Origin =
|
||||
Top = 0
|
||||
Left = 0
|
||||
End
|
||||
Begin Tables =
|
||||
Begin Table = "InterventiMtz"
|
||||
Begin Extent =
|
||||
Top = 8
|
||||
Left = 486
|
||||
Bottom = 354
|
||||
Right = 671
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 5
|
||||
End
|
||||
Begin Table = "AnagAmbitoGuasto"
|
||||
Begin Extent =
|
||||
Top = 11
|
||||
Left = 82
|
||||
Bottom = 89
|
||||
Right = 255
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagImpianti"
|
||||
Begin Extent =
|
||||
Top = 123
|
||||
Left = 219
|
||||
Bottom = 231
|
||||
Right = 370
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagMacchine"
|
||||
Begin Extent =
|
||||
Top = 190
|
||||
Left = 826
|
||||
Bottom = 298
|
||||
Right = 977
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagTipoGuasto"
|
||||
Begin Extent =
|
||||
Top = 90
|
||||
Left = 1143
|
||||
Bottom = 168
|
||||
Right = 1294
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagPriorita"
|
||||
Begin Extent =
|
||||
Top = 23
|
||||
Left = 958
|
||||
Bottom = 116
|
||||
Right = 1109
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagStati"
|
||||
Begin Extent =
|
||||
Top = 263
|
||||
Left = 90
|
||||
Bottom = 356
|
||||
Right = 241
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt'
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
/* nuove stored + stored con filtraggio esteso! */
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE stp_elencoIntByIntervDate
|
||||
* Recupera elenco interventi a partire dalle date inizio/fine di ricerca
|
||||
*
|
||||
* modif.: S.E.L. - 2010.01.25
|
||||
**************************************/
|
||||
create PROCEDURE stp_elencoIntByIntervDate
|
||||
(
|
||||
@inizio DATETIME,
|
||||
@fine DATETIME
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT codImpianto, codMacchina, descrCausale, descrizione, descrizioneIntervento, durataMtz, durataOff, fineIntervento, guasto, idxImpianto, idxMacchina, idxStato,
|
||||
inizioIntervento, minErogati, nomeImpianto, nomeMacchina, numIntMtz, richiesta, isFermo, scheduled
|
||||
FROM v_elencoIntervFilt
|
||||
WHERE (richiesta BETWEEN @inizio AND @fine)
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE stp_elencoIntByIntervDateUserFilt
|
||||
* Recupera elenco interventi a partire dalle date inizio/fine di ricerca e dall'username ed i relativi filtri di ricerca salvati
|
||||
*
|
||||
* modif.: S.E.L. - 2010.01.25
|
||||
**************************************/
|
||||
create PROCEDURE stp_elencoIntByIntervDateUserFilt
|
||||
(
|
||||
@inizio DATETIME,
|
||||
@fine DATETIME,
|
||||
@username VARCHAR(50)
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.descrCausale, v_elencoIntervFilt.descrizione,
|
||||
v_elencoIntervFilt.descrizioneIntervento, v_elencoIntervFilt.durataMtz, v_elencoIntervFilt.durataOff, v_elencoIntervFilt.fineIntervento, v_elencoIntervFilt.guasto,
|
||||
v_elencoIntervFilt.idxImpianto, v_elencoIntervFilt.idxMacchina, v_elencoIntervFilt.idxStato, v_elencoIntervFilt.inizioIntervento, v_elencoIntervFilt.minErogati,
|
||||
v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina, v_elencoIntervFilt.numIntMtz, v_elencoIntervFilt.richiesta, v_elencoIntervFilt.isFermo,
|
||||
v_elencoIntervFilt.scheduled
|
||||
FROM v_elencoIntervFilt INNER JOIN
|
||||
FiltroImpianti ON v_elencoIntervFilt.idxImpianto = FiltroImpianti.idxImpianto INNER JOIN
|
||||
FiltroMacchine ON v_elencoIntervFilt.idxMacchina = FiltroMacchine.idxMacchina INNER JOIN
|
||||
FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato
|
||||
WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND
|
||||
(FiltroImpianti.username = @username)
|
||||
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE stp_elencoIntByIntervDateUserFilt
|
||||
* Recupera elenco interventi a partire dalle date inizio/fine di ricerca e dall'username ed i relativi filtri di ricerca salvati
|
||||
* e con rispetto filtro x int a macchian ferma o di mtz preventiva
|
||||
*
|
||||
* modif.: S.E.L. - 2010.01.25
|
||||
**************************************/
|
||||
create PROCEDURE stp_elencoIntByIntervDateUserFilt_fermaPrev
|
||||
(
|
||||
@inizio DATETIME,
|
||||
@fine DATETIME,
|
||||
@username VARCHAR(50),
|
||||
@soloMaccFerma BIT,
|
||||
@includiPreventiva BIT
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.descrCausale, v_elencoIntervFilt.descrizione,
|
||||
v_elencoIntervFilt.descrizioneIntervento, v_elencoIntervFilt.durataMtz, v_elencoIntervFilt.durataOff, v_elencoIntervFilt.fineIntervento,
|
||||
v_elencoIntervFilt.guasto, v_elencoIntervFilt.idxImpianto, v_elencoIntervFilt.idxMacchina, v_elencoIntervFilt.idxStato,
|
||||
v_elencoIntervFilt.inizioIntervento, v_elencoIntervFilt.minErogati, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina,
|
||||
v_elencoIntervFilt.numIntMtz, v_elencoIntervFilt.richiesta, v_elencoIntervFilt.isFermo, v_elencoIntervFilt.scheduled
|
||||
FROM v_elencoIntervFilt INNER JOIN
|
||||
FiltroImpianti ON v_elencoIntervFilt.idxImpianto = FiltroImpianti.idxImpianto INNER JOIN
|
||||
FiltroMacchine ON v_elencoIntervFilt.idxMacchina = FiltroMacchine.idxMacchina INNER JOIN
|
||||
FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato
|
||||
WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username)
|
||||
AND (FiltroMacchine.username = @username) AND (FiltroImpianti.username = @username)
|
||||
AND (v_elencoIntervFilt.isFermo = case @soloMaccFerma when 1 then 1 else v_elencoIntervFilt.isFermo end)
|
||||
AND (v_elencoIntervFilt.scheduled = case @includiPreventiva when 0 then 0 else v_elencoIntervFilt.scheduled end)
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE stp_elencoIntMTBF_MTTR_fermaPrev
|
||||
* Restituisce elenco degli interventi x fare il calcolo MTBF/MTTR FILTRANDO per:
|
||||
* - idxStati
|
||||
* - idxImpianto
|
||||
* - idxMacchina
|
||||
* - solo ferma
|
||||
* - inclusione preventiva
|
||||
*
|
||||
* modif.: S.E.L. - 2010.01.25
|
||||
**************************************/
|
||||
create PROCEDURE stp_elencoIntMTBF_MTTR_fermaPrev
|
||||
(
|
||||
@inizio DATETIME,
|
||||
@fine DATETIME,
|
||||
@username VARCHAR(100),
|
||||
@soloMaccFerma BIT,
|
||||
@includiPreventiva BIT
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT COUNT(v_elencoIntervFilt.numIntMtz) AS numInterventi, SUM(v_elencoIntervFilt.durataMtz) AS totOreMtz,
|
||||
SUM(v_elencoIntervFilt.durataOff) AS totOreOfficina, v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina,
|
||||
v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina
|
||||
FROM FiltroImpianti INNER JOIN FiltroMacchine INNER JOIN v_elencoIntervFilt INNER JOIN
|
||||
FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato ON FiltroMacchine.idxMacchina = v_elencoIntervFilt.idxMacchina ON
|
||||
FiltroImpianti.idxImpianto = v_elencoIntervFilt.idxImpianto
|
||||
WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND
|
||||
(FiltroImpianti.username = @username) AND (v_elencoIntervFilt.isFermo = CASE @soloMaccFerma WHEN 1 THEN 1 ELSE v_elencoIntervFilt.isFermo END)
|
||||
AND (v_elencoIntervFilt.scheduled = CASE @includiPreventiva WHEN 0 THEN 0 ELSE v_elencoIntervFilt.scheduled END)
|
||||
GROUP BY v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(6, GETDATE())
|
||||
GO
|
||||
@@ -1,19 +0,0 @@
|
||||
/* Sistemo trigger x la gestioen di nuove macchine con le causali sstandard... */
|
||||
|
||||
CREATE TRIGGER updateAssociazioneFamMacchine
|
||||
ON dbo.AnagMacchine
|
||||
FOR INSERT
|
||||
AS
|
||||
|
||||
-- aggiungo le eventuali "macchine orfane" alla fam macchine di base (1 = TUTTE)
|
||||
INSERT INTO Macchine2FamMacchine(idxMacchina, idxFamMacchine)
|
||||
(
|
||||
SELECT am.idxMacchina, 1 FROM anagMacchine am LEFT OUTER JOIN macchine2FamMacchine m2f
|
||||
ON am.idxMacchina=m2f.idxMacchina
|
||||
WHERE m2f.idxmacchina IS NULL
|
||||
)
|
||||
GO
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(7, GETDATE())
|
||||
GO
|
||||
@@ -1,67 +0,0 @@
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE sp_elencoIntMTBF_MTTR
|
||||
* Restituisce elenco degli interventi x fare il calcolo MTBF/MTTR FILTRANDO per:
|
||||
* - idxStati
|
||||
* - idxImpianto
|
||||
* - idxMacchina
|
||||
*
|
||||
* modif.: S.E.L. - 2010.05.11
|
||||
**************************************/
|
||||
alter PROCEDURE sp_elencoIntMTBF_MTTR
|
||||
(
|
||||
@inizio DATETIME,
|
||||
@fine DATETIME,
|
||||
@username VARCHAR(100)
|
||||
)
|
||||
AS
|
||||
|
||||
-- inizio con il creare la vista che mi serve x selezionare gli interventi filtrati dall'utente (per poterli escludere-includere)
|
||||
WITH ElencoInt AS (SELECT v_elencoIntervFilt.*
|
||||
FROM FiltroImpianti INNER JOIN
|
||||
FiltroMacchine INNER JOIN
|
||||
v_elencoIntervFilt INNER JOIN
|
||||
FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato ON FiltroMacchine.idxMacchina = v_elencoIntervFilt.idxMacchina ON
|
||||
FiltroImpianti.idxImpianto = v_elencoIntervFilt.idxImpianto
|
||||
WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND
|
||||
(FiltroImpianti.username = @username))
|
||||
|
||||
|
||||
-- seleziono gli interventi DAVVERO erogati
|
||||
SELECT COUNT(ElencoInt.numIntMtz) AS numInterventi, SUM(ElencoInt.durataMtz) AS totOreMtz,
|
||||
SUM(ElencoInt.durataOff) AS totOreOfficina, ElencoInt.codImpianto, ElencoInt.codMacchina,
|
||||
ElencoInt.nomeImpianto, ElencoInt.nomeMacchina
|
||||
FROM ElencoInt
|
||||
GROUP BY ElencoInt.codImpianto, ElencoInt.codMacchina, ElencoInt.nomeImpianto, ElencoInt.nomeMacchina
|
||||
|
||||
UNION
|
||||
|
||||
-- seleziono gli impianti che NON hanno ricevuto interventi ma comunque scelti dall'utente...
|
||||
SELECT 0 AS numInterventi, 0 AS totOreMtz, 0 AS totOreOfficina, AnagImpianti.codImpianto, AnagMacchine.codMacchina, AnagImpianti.nomeImpianto,
|
||||
AnagMacchine.nomeMacchina
|
||||
FROM FiltroMacchine INNER JOIN
|
||||
AnagMacchine ON FiltroMacchine.idxMacchina = AnagMacchine.idxMacchina INNER JOIN
|
||||
AnagImpianti ON AnagMacchine.idxImpianto = AnagImpianti.idxImpianto LEFT OUTER JOIN
|
||||
ElencoInt ON FiltroMacchine.idxMacchina = ElencoInt.idxMacchina
|
||||
WHERE (ElencoInt.numIntMtz IS NULL)
|
||||
GROUP BY AnagImpianti.codImpianto, AnagMacchine.codMacchina, AnagImpianti.nomeImpianto, AnagMacchine.nomeMacchina
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(8, GETDATE())
|
||||
GO
|
||||
@@ -1,601 +0,0 @@
|
||||
create table AnagClasseTurno(
|
||||
CodClasseTurno nvarchar(50) not null constraint PK_AnagClasseTurno primary key,
|
||||
Descrizione nvarchar(50),
|
||||
hSettStd int
|
||||
)
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
INSERT INTO dbo.AnagClasseTurno
|
||||
VALUES (N'2t5gg', N'2 turni, 5 gg', 80)
|
||||
INSERT INTO dbo.AnagClasseTurno
|
||||
VALUES (N'3t5gg', N'3 turni, 5 gg', 120)
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
create table AnagTurni(
|
||||
CodTurno nvarchar(50) not null constraint PK_AnagTurni primary key,
|
||||
hStart int,
|
||||
hEnd int,
|
||||
descr nvarchar(50)
|
||||
)
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'T1', 6, 14, N'Turno 8h standard')
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'T2', 14, 22, N'Turno 8h standard')
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'T3', 22, 6, N'Turno 8h standard')
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'TA', 0, 6, N'Turno 6h std')
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'TB', 6, 12, N'Turno 6h std')
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'TC', 12, 18, N'Turno 6h std')
|
||||
INSERT INTO dbo.AnagTurni
|
||||
VALUES (N'TD', 18, 24, N'Turno 6h std')
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
drop table OreAperturaSett
|
||||
go
|
||||
|
||||
|
||||
create table OreAperturaSettTurni(
|
||||
CodClasseTurno nvarchar(50) not null,
|
||||
CodTurno nvarchar(50) not null,
|
||||
giorno int not null,
|
||||
descrGiorno nvarchar(50),
|
||||
|
||||
constraint PK_OreAperturaSett primary key(CodClasseTurno,giorno,CodTurno)
|
||||
)
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T1', 1, N'Lun')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T1', 2, N'Mar')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T1', 3, N'Mer')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T1', 4, N'Gio')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T1', 5, N'Ven')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T2', 1, N'Lun')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T2', 2, N'Mar')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T2', 3, N'Mer')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T2', 4, N'Gio')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'2t5gg', N'T2', 5, N'Ven')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T1', 1, N'Lun')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T1', 2, N'Mar')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T1', 3, N'Mer')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T1', 4, N'Gio')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T1', 5, N'Ven')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T2', 1, N'Lun')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T2', 2, N'Mar')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T2', 3, N'Mer')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T2', 4, N'Gio')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T2', 5, N'Ven')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T3', 1, N'Lun')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T3', 2, N'Mar')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T3', 3, N'Mer')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T3', 4, N'Gio')
|
||||
INSERT INTO dbo.OreAperturaSettTurni
|
||||
VALUES (N'3t5gg', N'T3', 5, N'Ven')
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
create table OreChiusuraSett(
|
||||
giorno int not null constraint PK_OreAperturaSett_1 primary key,
|
||||
descrGiorno nvarchar(50),
|
||||
chiusura int
|
||||
)
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
INSERT INTO dbo.OreChiusuraSett
|
||||
VALUES (6, N'Sab', 16)
|
||||
INSERT INTO dbo.OreChiusuraSett
|
||||
VALUES (7, N'Dom', 24)
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***********************************************************************************
|
||||
* FUNCTION f_dateOnly
|
||||
*
|
||||
* restituisce solo la parte data di un campo datetime (ovvero a mezzanotte...)
|
||||
*
|
||||
***********************************************************************************/
|
||||
create FUNCTION f_dateOnly
|
||||
(
|
||||
@dateIn DATETIME
|
||||
)
|
||||
RETURNS DATETIME
|
||||
AS
|
||||
BEGIN
|
||||
RETURN dateadd(dd, -datediff(dd, @dateIn, 1), 1)
|
||||
END
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/***********************************************************************************
|
||||
* FUNCTION f_diffOreLavorative
|
||||
*
|
||||
* calcola le effettive ore lavorative sottraendo chiusure x festività o aperture programmate
|
||||
*
|
||||
***********************************************************************************/
|
||||
create FUNCTION f_diffOreLavorative
|
||||
(
|
||||
@dataFrom DATETIME,
|
||||
@dataTo DATETIME,
|
||||
@idxMacchina INT -- per ora non lo considero poiché non ci sono calendari diversi x macchina...
|
||||
)
|
||||
RETURNS FLOAT
|
||||
AS
|
||||
BEGIN
|
||||
|
||||
-- dichiarazioni variabili
|
||||
DECLARE @oreTot AS FLOAT
|
||||
DECLARE @oreOff AS FLOAT
|
||||
DECLARE @tmp_dates TABLE (DateValue DATETIME, h INT)
|
||||
SET @oreTot = 0
|
||||
|
||||
-- controllo date coerenti
|
||||
IF(@dataTo > @dataFrom)
|
||||
BEGIN
|
||||
-- calcolo totale "raw" delle ore
|
||||
SET @oreTot = CAST(ISNULL(DATEDIFF(minute, @dataFrom, @dataTo), 0) AS float) / 60;
|
||||
-- definisco tabella cte ricorsiva
|
||||
WITH mycte AS
|
||||
(
|
||||
SELECT CAST(dbo.f_dateOnly(DATEADD(dd,1,@dataFROM)) AS DATETIME) DateValue
|
||||
UNION ALL
|
||||
SELECT DateValue + 1
|
||||
FROM mycte
|
||||
WHERE DateValue + 1 < dbo.f_dateOnly(@dataTo)
|
||||
)
|
||||
-- carico nella tab temporanea i sabati e le domeniche...
|
||||
INSERT into @tmp_dates(DateValue, h)
|
||||
SELECT *, CASE ((DATEPART(dw, DateValue) + @@DATEFIRST) % 7) WHEN 0 THEN 16 ELSE 24 END AS h
|
||||
FROM mycte
|
||||
WHERE ((DATEPART(dw, DateValue) + @@DATEFIRST) % 7) IN (0,1)
|
||||
OPTION (MAXRECURSION 0)
|
||||
-- carico le festività per le date NON ancora presenti
|
||||
insert into @tmp_dates(DateValue, h)
|
||||
select data as DateValue, 24 as h--, descrizione
|
||||
from CalendFesteFerie
|
||||
where data between @dataFrom and @dataTo and data not in (select distinct DateValue from @tmp_dates)
|
||||
-- aggiorno sabati/domenica che fossero festivi (ipotesi che hfest > h sab/dom...
|
||||
UPDATE @tmp_dates
|
||||
SET h=24
|
||||
WHERE DateValue in (SELECT data FROM CalendFesteFerie WHERE data between @dataFrom and @dataTo)
|
||||
|
||||
-- calcolo INFINE le ore off!
|
||||
SET @oreOff = (SELECT ISNULL(SUM(h),0) FROM @tmp_dates)
|
||||
END
|
||||
-- setto le nuove ore totali... se ho un numero di ore > delle fermate le sottraggo per evitare ore engative...
|
||||
IF(@oreTot > @oreOff)
|
||||
BEGIN
|
||||
SET @oreTot = @oreTot - @oreOff
|
||||
END
|
||||
|
||||
RETURN @oreTot
|
||||
END
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
alter VIEW v_elencoIntervFilt
|
||||
AS
|
||||
SELECT TOP (100) PERCENT dbo.InterventiMtz.numIntMtz, dbo.InterventiMtz.richiesta, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto,
|
||||
dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.InterventiMtz.descrizione, dbo.InterventiMtz.inizioIntervento,
|
||||
dbo.InterventiMtz.fineIntervento, ISNULL(dbo.InterventiMtz.descrizioneIntervento, 'n.d. (report mtz)') AS descrizioneIntervento,
|
||||
ISNULL(dbo.AnagCausali.descrCausale, 'n.d. (causale)') AS descrCausale, ROUND(CAST(ISNULL(dbo.v_interventiErogati.totMinErogati, 0) AS float) / 60, 2)
|
||||
AS minErogati, dbo.f_diffOreLavorative(dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento, dbo.InterventiMtz.idxMacchina) AS durataMtz,
|
||||
CASE (isFermo) WHEN 1 THEN dbo.f_diffOreLavorative(dbo.InterventiMtz.guasto, dbo.InterventiMtz.fineIntervento, InterventiMtz.idxMacchina)
|
||||
WHEN 0 THEN dbo.f_diffOreLavorative(dbo.InterventiMtz.inizioIntervento, dbo.InterventiMtz.fineIntervento, InterventiMtz.idxMacchina) END AS durataOff,
|
||||
dbo.InterventiMtz.guasto, dbo.InterventiMtz.idxStato, dbo.InterventiMtz.idxImpianto, dbo.InterventiMtz.idxMacchina, dbo.InterventiMtz.isFermo,
|
||||
dbo.InterventiMtz.scheduled
|
||||
FROM dbo.InterventiMtz INNER JOIN
|
||||
dbo.AnagAmbitoGuasto ON dbo.InterventiMtz.idxAmbito = dbo.AnagAmbitoGuasto.idxAmbito INNER JOIN
|
||||
dbo.AnagImpianti ON dbo.InterventiMtz.idxImpianto = dbo.AnagImpianti.idxImpianto INNER JOIN
|
||||
dbo.AnagMacchine ON dbo.InterventiMtz.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN
|
||||
dbo.AnagTipoGuasto ON dbo.InterventiMtz.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN
|
||||
dbo.AnagPriorita ON dbo.InterventiMtz.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN
|
||||
dbo.AnagStati ON dbo.InterventiMtz.idxStato = dbo.AnagStati.idxStato LEFT OUTER JOIN
|
||||
dbo.v_interventiErogati ON dbo.InterventiMtz.numIntMtz = dbo.v_interventiErogati.numIntMtz LEFT OUTER JOIN
|
||||
dbo.AnagCausali ON dbo.InterventiMtz.idxCausale = dbo.AnagCausali.idxCausale
|
||||
ORDER BY dbo.InterventiMtz.numIntMtz DESC
|
||||
go
|
||||
|
||||
exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
||||
Begin DesignProperties =
|
||||
Begin PaneConfigurations =
|
||||
Begin PaneConfiguration = 0
|
||||
NumPanes = 4
|
||||
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
||||
End
|
||||
Begin PaneConfiguration = 1
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 4 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 2
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1 [50] 2 [25] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 3
|
||||
NumPanes = 3
|
||||
Configuration = "(H (4 [30] 2 [40] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 4
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [56] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 5
|
||||
NumPanes = 2
|
||||
Configuration = "(H (2 [66] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 6
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [50] 3))"
|
||||
End
|
||||
Begin PaneConfiguration = 7
|
||||
NumPanes = 1
|
||||
Configuration = "(V (3))"
|
||||
End
|
||||
Begin PaneConfiguration = 8
|
||||
NumPanes = 3
|
||||
Configuration = "(H (1[56] 4[18] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 9
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1 [75] 4))"
|
||||
End
|
||||
Begin PaneConfiguration = 10
|
||||
NumPanes = 2
|
||||
Configuration = "(H (1[66] 2) )"
|
||||
End
|
||||
Begin PaneConfiguration = 11
|
||||
NumPanes = 2
|
||||
Configuration = "(H (4 [60] 2))"
|
||||
End
|
||||
Begin PaneConfiguration = 12
|
||||
NumPanes = 1
|
||||
Configuration = "(H (1) )"
|
||||
End
|
||||
Begin PaneConfiguration = 13
|
||||
NumPanes = 1
|
||||
Configuration = "(V (4))"
|
||||
End
|
||||
Begin PaneConfiguration = 14
|
||||
NumPanes = 1
|
||||
Configuration = "(V (2))"
|
||||
End
|
||||
ActivePaneConfig = 0
|
||||
End
|
||||
Begin DiagramPane =
|
||||
Begin Origin =
|
||||
Top = 0
|
||||
Left = 0
|
||||
End
|
||||
Begin Tables =
|
||||
Begin Table = "AnagAmbitoGuasto"
|
||||
Begin Extent =
|
||||
Top = 11
|
||||
Left = 82
|
||||
Bottom = 89
|
||||
Right = 255
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagImpianti"
|
||||
Begin Extent =
|
||||
Top = 123
|
||||
Left = 219
|
||||
Bottom = 231
|
||||
Right = 370
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagMacchine"
|
||||
Begin Extent =
|
||||
Top = 190
|
||||
Left = 826
|
||||
Bottom = 298
|
||||
Right = 977
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagTipoGuasto"
|
||||
Begin Extent =
|
||||
Top = 90
|
||||
Left = 1143
|
||||
Bottom = 168
|
||||
Right = 1294
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagPriorita"
|
||||
Begin Extent =
|
||||
Top = 23
|
||||
Left = 958
|
||||
Bottom = 116
|
||||
Right = 1109
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagStati"
|
||||
Begin Extent =
|
||||
Top = 263
|
||||
Left = 90
|
||||
Bottom = 356
|
||||
Right = 241
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "v_interventiErogati"
|
||||
Begin Extent =
|
||||
Top = 3
|
||||
Left = 739
|
||||
Bottom = 81
|
||||
Right = 890
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt'
|
||||
go
|
||||
|
||||
exec sp_updateextendedproperty 'MS_DiagramPane2', ' End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "AnagCausali"
|
||||
Begin Extent =
|
||||
Top = 291
|
||||
Left = 1011
|
||||
Bottom = 369
|
||||
Right = 1162
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
Begin Table = "InterventiMtz"
|
||||
Begin Extent =
|
||||
Top = 8
|
||||
Left = 486
|
||||
Bottom = 354
|
||||
Right = 671
|
||||
End
|
||||
DisplayFlags = 280
|
||||
TopColumn = 0
|
||||
End
|
||||
End
|
||||
End
|
||||
Begin SQLPane =
|
||||
End
|
||||
Begin DataPane =
|
||||
Begin ParameterDefaults = ""
|
||||
End
|
||||
Begin ColumnWidths = 30
|
||||
Width = 284
|
||||
Width = 915
|
||||
Width = 1815
|
||||
Width = 690
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1665
|
||||
Width = 1665
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1050
|
||||
Width = 1020
|
||||
Width = 1125
|
||||
Width = 1815
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
Width = 1500
|
||||
End
|
||||
End
|
||||
Begin CriteriaPane =
|
||||
Begin ColumnWidths = 11
|
||||
Column = 1440
|
||||
Alias = 900
|
||||
Table = 1170
|
||||
Output = 720
|
||||
Append = 1400
|
||||
NewValue = 1170
|
||||
SortType = 1350
|
||||
SortOrder = 1410
|
||||
GroupBy = 1350
|
||||
Filter = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
Or = 1350
|
||||
End
|
||||
End
|
||||
End
|
||||
', 'SCHEMA', 'dbo', 'VIEW', 'v_elencoIntervFilt'
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
create table OreAperturaSett(
|
||||
giorno int not null constraint PK_OreAperturaSett_2 primary key,
|
||||
descrGiorno nvarchar(50),
|
||||
apertura int
|
||||
)
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (0, N'Dom', 0)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (1, N'Lun', 24)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (2, N'Mar', 24)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (3, N'Mer', 24)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (4, N'Gio', 24)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (5, N'Ven', 24)
|
||||
INSERT INTO dbo.OreAperturaSett
|
||||
VALUES (6, N'Sab', 8)
|
||||
go
|
||||
|
||||
commit transaction
|
||||
go
|
||||
|
||||
|
||||
set xact_abort on
|
||||
go
|
||||
|
||||
begin transaction
|
||||
go
|
||||
|
||||
set ANSI_NULLS on
|
||||
go
|
||||
|
||||
/*************************************
|
||||
* STORED PROCEDURE stp_oreEquivalenti
|
||||
* calcola le ore di apertura equivalenti x una data macchina e periodo
|
||||
*
|
||||
* modif.: S.E.L. - 2011.06.29
|
||||
**************************************/
|
||||
create PROCEDURE stp_oreEquivalenti
|
||||
(
|
||||
@dataFrom DATETIME,
|
||||
@dataTo DATETIME,
|
||||
@idxMacchina INT
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT dbo.f_diffOreLavorative(@dataFrom, @dataTo, @idxMacchina) AS apertura
|
||||
|
||||
RETURN
|
||||
go
|
||||
|
||||
commit
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(20, GETDATE())
|
||||
GO
|
||||
Reference in New Issue
Block a user