Dati aggiunti a vista

venerdì 05 dicembre 2008 - 10.59

gonzalezh Profilo | Junior Member

Ciao,
Manag. Studio SQL Server 2005. Devo modificare una vista censita su un db e salvarla con un'altro nome. Faccio click destro. Creo lo script del CREATE VIEW. In fondo al codice Sql server mi aggiunge questi dati. Cosa sono e perchè me li aggiunge?
Grazie mille,
H.
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[69] 4[18] 2[6] 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 = "T_SYNTH_S3"
Begin Extent =
Top = 3
Left = 56
Bottom = 118
Right = 229
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_UCGR"
Begin Extent =
Top = 6
Left = 460
Bottom = 106
Right = 633
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_UFLIG"
Begin Extent =
Top = 6
Left = 671
Bottom = 106
Right = 844
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_UPRAL"
Begin Extent =
Top = 108
Left = 460
Bottom = 208
Right = 633
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_UPRB"
Begin Extent =
Top = 108
Left = 671
Bottom = 208
Right = 844
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_UPRD"
Begin Extent =
Top = 126
Left = 38
Bottom = 226
Right = 211
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_UPRS"
Begin Extent =
Top = 126
Left = 249
Bottom = 226
Right = 422
End
' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'VIEW', @level1name=N'SYNTH_S3'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N' DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_BNK"
Begin Extent =
Top = 6
Left = 249
Bottom = 121
Right = 422
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_DMN_SYS_BKTTYP"
Begin Extent =
Top = 210
Left = 460
Bottom = 310
Right = 653
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_DMN_SYS_CFMD"
Begin Extent =
Top = 210
Left = 671
Bottom = 310
Right = 844
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_DMN_SYS_TRST"
Begin Extent =
Top = 228
Left = 249
Bottom = 328
Right = 422
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_DMN_SYS_CFT"
Begin Extent =
Top = 312
Left = 460
Bottom = 412
Right = 633
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_SCD_ANAG"
Begin Extent =
Top = 312
Left = 671
Bottom = 427
Right = 844
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_DIVI"
Begin Extent =
Top = 332
Left = 38
Bottom = 432
Right = 211
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_BUU"
Begin Extent =
Top = 330
Left = 249
Bottom = 445
Right = 422
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_PDC"
Begin Extent =
Top = 414
Left = 460
Bottom = 529
Right = 633
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_SCD_RULE"
Begin Extent =
Top = 432
Left = 671
Bottom = 547
Right = 844
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "T_AAA_URK"
Begin Extent =
Top = 228
Left = 38
Bottom = 328
Right = 211
End
DisplayFlags = 280
TopColumn = 0
End
End
End
Begin SQLPane =
End
Begin DataPane =
Begin ParameterDefaults = ""
End
Begin ColumnWidths = 21
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 = 1680
Width = 1500
Width = 1500
Width = 1500
Width = 1500
End
End
Begin CriteriaPane =
Begin ColumnWidths = 11
Column = 1920
Alias = 1995' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'VIEW', @level1name=N'SYNTH_S3'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane3', @value=N'
Table = 3210
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'SYNTH_S3'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=3 ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'VIEW', @level1name=N'SYNTH_S3'

lbenaglia Profilo | Guru

>In fondo al codice Sql server mi aggiunge
>questi dati. Cosa sono e perchè me li aggiunge?

Ciao Helen,

Sono proprietà estese riferite a qualche diagramma che determinano il numero di pagine, le coordinate X ed Y delle tabelle sul diagramma, ecc.
Come puoi immaginare non comportano modifiche al funzionamento della vista, si tratta solo di informazioni accessorie opzionali.
Se deciderai di non aggiungerle, perderai le customizzazioni che hai eseguito nei diagrammi.

>Grazie mille,
Prego.

Ciao!
--
Lorenzo Benaglia
Microsoft MVP - SQL Server
http://blogs.dotnethell.it/lorenzo/
http://italy.mvps.org
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5