Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 4.04 KB | None | 0 0
  1. USE [FundData_dev]
  2. GO
  3.  
  4. /****** Object:  View [dbo].[DistributionExportView]    Script Date: 4/30/2017 2:51:32 PM ******/
  5. SET ANSI_NULLS ON
  6. GO
  7.  
  8. SET QUOTED_IDENTIFIER ON
  9. GO
  10.  
  11. CREATE VIEW [dbo].[DistributionExportView]
  12. AS
  13. SELECT        e.ID AS ExportId, e.Name AS ExportName, c.ID AS CompanyId, c.Name AS ComapnyName
  14. FROM            dbo.DistributionExport AS de INNER JOIN
  15.                          dbo.MetadataExport AS e ON e.ID = de.Export_ID INNER JOIN
  16.                          dbo.Company AS c ON c.ID = de.Company_ID
  17.  
  18. GO
  19.  
  20. EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @VALUE=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
  21. Begin DesignProperties =
  22.   Begin PaneConfigurations =
  23.      Begin PaneConfiguration = 0
  24.         NumPanes = 4
  25.         Configuration = "(H (1[40] 4[20] 2[20] 3) )"
  26.      End
  27.      Begin PaneConfiguration = 1
  28.         NumPanes = 3
  29.         Configuration = "(H (1 [50] 4 [25] 3))"
  30.      End
  31.      Begin PaneConfiguration = 2
  32.         NumPanes = 3
  33.         Configuration = "(H (1 [50] 2 [25] 3))"
  34.      End
  35.      Begin PaneConfiguration = 3
  36.         NumPanes = 3
  37.         Configuration = "(H (4 [30] 2 [40] 3))"
  38.      End
  39.      Begin PaneConfiguration = 4
  40.         NumPanes = 2
  41.         Configuration = "(H (1 [56] 3))"
  42.      End
  43.      Begin PaneConfiguration = 5
  44.         NumPanes = 2
  45.         Configuration = "(H (2 [66] 3))"
  46.      End
  47.      Begin PaneConfiguration = 6
  48.         NumPanes = 2
  49.         Configuration = "(H (4 [50] 3))"
  50.      End
  51.      Begin PaneConfiguration = 7
  52.         NumPanes = 1
  53.         Configuration = "(V (3))"
  54.      End
  55.      Begin PaneConfiguration = 8
  56.         NumPanes = 3
  57.         Configuration = "(H (1[56] 4[18] 2) )"
  58.      End
  59.      Begin PaneConfiguration = 9
  60.         NumPanes = 2
  61.         Configuration = "(H (1 [75] 4))"
  62.      End
  63.      Begin PaneConfiguration = 10
  64.         NumPanes = 2
  65.         Configuration = "(H (1[66] 2) )"
  66.      End
  67.      Begin PaneConfiguration = 11
  68.         NumPanes = 2
  69.         Configuration = "(H (4 [60] 2))"
  70.      End
  71.      Begin PaneConfiguration = 12
  72.         NumPanes = 1
  73.         Configuration = "(H (1) )"
  74.      End
  75.      Begin PaneConfiguration = 13
  76.         NumPanes = 1
  77.         Configuration = "(V (4))"
  78.      End
  79.      Begin PaneConfiguration = 14
  80.         NumPanes = 1
  81.         Configuration = "(V (2))"
  82.      End
  83.      ActivePaneConfig = 0
  84.   End
  85.   Begin DiagramPane =
  86.      Begin Origin =
  87.         Top = 0
  88.         Left = 0
  89.      End
  90.      Begin Tables =
  91.         Begin Table = "de"
  92.            Begin Extent =
  93.               Top = 6
  94.               Left = 38
  95.               Bottom = 136
  96.               Right = 227
  97.            End
  98.            DisplayFlags = 280
  99.            TopColumn = 0
  100.         End
  101.         Begin Table = "e"
  102.            Begin Extent =
  103.               Top = 6
  104.               Left = 265
  105.               Bottom = 136
  106.               Right = 454
  107.            End
  108.            DisplayFlags = 280
  109.            TopColumn = 0
  110.         End
  111.         Begin Table = "c"
  112.            Begin Extent =
  113.               Top = 6
  114.               Left = 492
  115.               Bottom = 136
  116.               Right = 734
  117.            End
  118.            DisplayFlags = 280
  119.            TopColumn = 0
  120.         End
  121.      End
  122.   End
  123.   Begin SQLPane =
  124.   End
  125.   Begin DataPane =
  126.      Begin ParameterDefaults = ""
  127.      End
  128.   End
  129.   Begin CriteriaPane =
  130.      Begin ColumnWidths = 11
  131.         Column = 1440
  132.         Alias = 900
  133.         Table = 1170
  134.         Output = 720
  135.         Append = 1400
  136.         NewValue = 1170
  137.         SortType = 1350
  138.         SortOrder = 1410
  139.         GroupBy = 1350
  140.         Filter = 1350
  141.         Or = 1350
  142.         Or = 1350
  143.         Or = 1350
  144.      End
  145.   End
  146. End
  147. ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'DistributionExportView'
  148. GO
  149.  
  150. EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @VALUE=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'DistributionExportView'
  151. GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement