/****** Object: View [dbo].[vwszall_szlet] Script Date: 11/04/2010 14:23:03 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[vwszall_szlet] AS SELECT dbo.wszall_szlet.BIZSZAM, dbo.wszall_szlet.TETEL, dbo.wszall_szlet.VCIKKSZAM, dbo.wszall_szlet.CIKK_SZAM, dbo.wszall_szlet.CIKK_NEV, dbo.wszall_szlet.afa_kulcs, dbo.wszall_szlet.MENNY_EGYS, dbo.wszall_szlet.SZORZO, dbo.wszall_szlet.edarab, dbo.wszall_szlet.DARAB, dbo.wszall_szlet.EGYSEG_AR, dbo.wszall_szlet.kedvezmeny, dbo.wszall_szlet.rendel_bsz, dbo.wszall_szlet.rendel_tet, dbo.wszall_szlet.KICSODA, CASE isnull(dbo.wszall_szlet_td.E1, - 1) WHEN - 1 THEN ' ' ELSE '*' END AS vantermekdij FROM dbo.wszall_szlet LEFT OUTER JOIN dbo.wszall_szlet_td ON dbo.wszall_szlet.TETEL = dbo.wszall_szlet_td.TETEL AND dbo.wszall_szlet.KICSODA = dbo.wszall_szlet_td.KICSODA GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[20] 2[15] 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 = "wszall_szlet" Begin Extent = Top = 0 Left = 32 Bottom = 233 Right = 192 End DisplayFlags = 280 TopColumn = 4 End Begin Table = "wszall_szlet_td" Begin Extent = Top = 2 Left = 323 Bottom = 160 Right = 483 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End Begin ColumnWidths = 18 Width = 284 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 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 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'vwszall_szlet' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'vwszall_szlet' GO /****** Object: View [dbo].[vwszall_szlat] Script Date: 11/04/2010 14:23:03 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[vwszall_szlat] AS SELECT dbo.wszall_szlat.BIZSZAM, dbo.wszall_szlat.TETEL, dbo.wszall_szlat.VCIKKSZAM, dbo.wszall_szlat.CIKK_SZAM, dbo.wszall_szlat.CIKK_NEV, dbo.wszall_szlat.afa_kulcs, dbo.wszall_szlat.MENNY_EGYS, dbo.wszall_szlat.SZORZO, dbo.wszall_szlat.edarab, dbo.wszall_szlat.DARAB, dbo.wszall_szlat.EGYSEG_AR, dbo.wszall_szlat.kedvezmeny, dbo.wszall_szlat.rendel_bsz, dbo.wszall_szlat.rendel_tet, dbo.wszall_szlat.KICSODA, CASE isnull(dbo.wszall_szlat_td.E1, - 1) WHEN - 1 THEN ' ' ELSE '*' END AS vantermekdij FROM dbo.wszall_szlat LEFT OUTER JOIN dbo.wszall_szlat_td ON dbo.wszall_szlat.TETEL = dbo.wszall_szlat_td.TETEL AND dbo.wszall_szlat.KICSODA = dbo.wszall_szlat_td.KICSODA GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[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 = "wszall_szlat" Begin Extent = Top = 6 Left = 38 Bottom = 238 Right = 198 End DisplayFlags = 280 TopColumn = 4 End Begin Table = "wszall_szlat_td" Begin Extent = Top = 6 Left = 321 Bottom = 158 Right = 481 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End Begin ColumnWidths = 10 Width = 284 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 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'vwszall_szlat' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'vwszall_szlat' GO