Advertisement
Guest User

Untitled

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