fix sql x vista

This commit is contained in:
Samuele E. Locatelli
2013-02-18 18:22:13 +01:00
parent 2c2682fbb4
commit bd40fd4e38
2 changed files with 222 additions and 2 deletions
+4 -2
View File
@@ -1840,12 +1840,14 @@ A:hover
background-image: -o-linear-gradient( #ddf,#e1f1ff );
background-image: linear-gradient( #ddf,#e1f1ff );
/**/
/*background-image: -webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));
/*
background-image: -webkit-gradient(linear,left top,left bottom,from( #fff ),to( #f1f1f1 ));
background-image: -webkit-linear-gradient( #fff,#f1f1f1 );
background-image: -moz-linear-gradient( #fff,#f1f1f1 );
background-image: -ms-linear-gradient( #fff,#f1f1f1 );
background-image: -o-linear-gradient( #fff,#f1f1f1 );
background-image: linear-gradient( #fff,#f1f1f1 );*/
background-image: linear-gradient( #fff,#f1f1f1 );
*/
border: 1px solid #CDCDCD;
}
.ctrRowStyleRight
@@ -0,0 +1,218 @@
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
alter VIEW v_mtzProgExp
AS
SELECT dbo.MtzProgrammata.idxIntPro, dbo.MtzProgrammata.idxMacchina, dbo.AnagImpianti.codImpianto, dbo.AnagImpianti.nomeImpianto,
dbo.AnagMacchine.codMacchina, dbo.AnagMacchine.nomeMacchina, dbo.MtzProgrammata.inizio, dbo.MtzProgrammata.codFrequenza,
dbo.AnagFrequenze.frequenza, dbo.MtzProgrammata.cadenza, dbo.MtzProgrammata.descrizione, dbo.MtzProgrammata.idxPriorita,
dbo.AnagPriorita.descrPriorita, dbo.MtzProgrammata.isFermo, dbo.MtzProgrammata.idxTipo, dbo.AnagTipoGuasto.descrTipo
FROM dbo.MtzProgrammata INNER JOIN
dbo.AnagMacchine ON dbo.MtzProgrammata.idxMacchina = dbo.AnagMacchine.idxMacchina INNER JOIN
dbo.AnagFrequenze ON dbo.MtzProgrammata.codFrequenza = dbo.AnagFrequenze.codFrequenza INNER JOIN
dbo.AnagPriorita ON dbo.MtzProgrammata.idxPriorita = dbo.AnagPriorita.idxPriorita INNER JOIN
dbo.AnagTipoGuasto ON dbo.MtzProgrammata.idxTipo = dbo.AnagTipoGuasto.idxTipo INNER JOIN
dbo.AnagImpianti ON dbo.AnagMacchine.idxImpianto = dbo.AnagImpianti.idxImpianto
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 = "MtzProgrammata"
Begin Extent =
Top = 6
Left = 38
Bottom = 275
Right = 189
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagMacchine"
Begin Extent =
Top = 213
Left = 288
Bottom = 321
Right = 439
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagFrequenze"
Begin Extent =
Top = 6
Left = 416
Bottom = 84
Right = 567
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagPriorita"
Begin Extent =
Top = 6
Left = 605
Bottom = 99
Right = 756
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagTipoGuasto"
Begin Extent =
Top = 6
Left = 794
Bottom = 84
Right = 945
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagImpianti"
Begin Extent =
Top = 137
Left = 581
Bottom = 267
Right = 751
End
DisplayFlags = 280
TopColumn = 0
End
End
End
Begin SQLPane =
End
Begin DataPane =
Begin ParameterDefaults = ""
End
Begin ColumnWidths = 17
Width = 284
Width = 1500', 'SCHEMA', 'dbo', 'VIEW', 'v_mtzProgExp';
go
exec sp_updateextendedproperty 'MS_DiagramPane2', '
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_mtzProgExp';
go
commit;
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(221, GETDATE())
GO
SELECT * FROM LogUpdateDb ORDER BY versione DESC
GO