<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sql Server Blog di Francesco Diaz : Programmazione</title><link>http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx</link><description>Tags: Programmazione</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Reporting Services – tools per la progettazione dei report</title><link>http://blogs.technet.com/francesco_diaz/archive/2009/06/19/reporting-services-tools-di-progettazione-report.aspx</link><pubDate>Fri, 19 Jun 2009 10:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3256630</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3256630.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3256630</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://www.microsoft.com/sqlserver/2008/en/us/reporting.aspx" target=_blank mce_href="http://www.microsoft.com/sqlserver/2008/en/us/reporting.aspx"&gt;Sql Server Reporting Services&lt;/A&gt; permette la creazione di report tramite diversi strumenti, &lt;A href="http://msdn.microsoft.com/en-us/library/ms155933.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms155933.aspx"&gt;Report Builder 1.0&lt;/A&gt;, &lt;A href="http://technet.microsoft.com/en-us/library/dd207008.aspx" target=_blank mce_href="http://technet.microsoft.com/en-us/library/dd207008.aspx"&gt;Report Builder 2.0&lt;/A&gt;, il &lt;A href="http://msdn.microsoft.com/en-us/library/ms157166.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms157166.aspx"&gt;Report Designer&lt;/A&gt; all’interno di Business Intelligence Development Studio. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ma quale tool è meglio utilizzare ?&lt;/STRONG&gt; La risposta è : dipende dall’esigenza e da chi deve fare il report. &lt;/P&gt;
&lt;P&gt;Sicuramente Report Builder è uno strumento più adatto all’utente finale, anche se l’ultima versione 2.0 ha introdotto parecchie features aggiuntive che lo avvicinano maggiormente al Report Designer contenuto in BIDS, strumento invece più adatto agli sviluppatori. &lt;/P&gt;
&lt;P&gt;A questo &lt;A href="http://msdn.microsoft.com/en-us/library/dd220519.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd220519.aspx"&gt;link&lt;/A&gt; potete trovare una tabella comparativa che mette a confronto i 3 prodotti sopracitati.&lt;/P&gt;
&lt;P&gt;Per gli sviluppatori è inoltre possibile utilizzare anche il controllo &lt;A href="http://msdn.microsoft.com/en-us/library/ms251671.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms251671.aspx"&gt;Report Viewer&lt;/A&gt; all’interno dei progetti Visual Studio per integrare direttamente soluzioni di reportistica negli applicativi.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3256630" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Reporting+Services/default.aspx">Reporting Services</category></item><item><title>Rilasciato il Sql Server Developer Training Kit</title><link>http://blogs.technet.com/francesco_diaz/archive/2009/05/13/rilasciato-il-sql-server-developer-training-kit.aspx</link><pubDate>Wed, 13 May 2009 11:35:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3240141</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3240141.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3240141</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/RilasciatoilSqlServerDeveloperTrainingKi_94F1/logo-header-sql08-dg_2.gif"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="logo-header-sql08-dg" border="0" alt="logo-header-sql08-dg" src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/RilasciatoilSqlServerDeveloperTrainingKi_94F1/logo-header-sql08-dg_thumb.gif" width="240" height="50" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;E’ disponibile &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=e9c68e1b-1e0e-4299-b498-6ab3ca72a6d7"&gt;qui&lt;/a&gt; . Di seguito alcune informazioni generiche : &lt;/p&gt;  &lt;p&gt;The material is organized into several feature areas:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Spatial Support&lt;/strong&gt; provides an overview of the new spatial data types that allow for the creation, comparison, analysis, and retrieval of spatial data. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;FILESTREAM&lt;/strong&gt; describes how SQL Server 2008 enables the storage of binary large object (BLOB) data as files on the file system in a manner that ensures transactional consistency with the database. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;CLR&lt;/strong&gt; introduces the common language runtime integration feature and describes new support for nullable types and additional .NET Framework libraries supported in SQL Server 2008. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Reporting Services&lt;/strong&gt; highlights enhancements to SQL Server Reporting Services including the new Report Builder 2.0 authoring tool. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Date and Time&lt;/strong&gt; introduces the new ANSI standard compatible data types that provide increased range and accuracy. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;T-SQL&lt;/strong&gt; shows several new language enhancements including table-valued parameters, row constructors, grouping sets, and the MERGE statement. &lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3240141" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Download/default.aspx">Download</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2008/default.aspx">Sql Server 2008</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category></item><item><title>Analysis Services Performance Guide</title><link>http://blogs.technet.com/francesco_diaz/archive/2008/11/17/analysis-services-performance-guide.aspx</link><pubDate>Mon, 17 Nov 2008 12:55:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3155135</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3155135.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3155135</wfw:commentRss><description>&lt;p&gt;Vi segnalo un white paper sulle tecniche di performance-tuning applicabili su Sql Server 2008 Analysis Services. Il documento è scaricabile &lt;a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3be0488d-e7aa-4078-a050-ae39912d2e43&amp;amp;DisplayLang=en"&gt;qui&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3155135" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2008/default.aspx">Sql Server 2008</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Analysis+Services/default.aspx">Analysis Services</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Performance/default.aspx">Performance</category></item><item><title>Visual Studio Team System 2008 Database Edition GDR - CTP Settembre</title><link>http://blogs.technet.com/francesco_diaz/archive/2008/10/01/visual-studio-team-system-2008-database-edition-gdr-ctp-settembre.aspx</link><pubDate>Wed, 01 Oct 2008 10:52:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3130605</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3130605.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3130605</wfw:commentRss><description>&lt;p&gt;E' disponibile per il download e fornisce, tra le altre novità, il supporto per i progetti database Sql Server 2008.&lt;/p&gt; &lt;p&gt;File readme : &lt;a title="http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/Readme.mht" href="http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/Readme.mht"&gt;http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/Readme.mht&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Documentazione : &lt;a href="http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/VSTS 2008 Database Edition GDR Documentation.zip"&gt;http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/VSTS 2008 Database Edition GDR Documentation.zip&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Setup : &lt;a href="http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/setup.exe"&gt;http://download.microsoft.com/download/0/a/e/0ae1153a-8798-474a-93e6-d19299f37c8b/setup.exe&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3130605" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Download/default.aspx">Download</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Visual+Studio/default.aspx">Visual Studio</category></item><item><title>Lista degli errori di Sql Server 2008</title><link>http://blogs.technet.com/francesco_diaz/archive/2008/09/15/lista-degli-errori-di-sql-server-2008.aspx</link><pubDate>Mon, 15 Sep 2008 17:22:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3124340</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3124340.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3124340</wfw:commentRss><description>&lt;p&gt;La lista dei messaggi di errore, le descrizioni e il livello di gravità che possono essere generati da Sql Server 2008 è stata raccolta in un documento reperibile a questo &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/cc645603.aspx"&gt;link&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3124340" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2008/default.aspx">Sql Server 2008</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Amministrazione/default.aspx">Amministrazione</category></item><item><title>Load Test</title><link>http://blogs.technet.com/francesco_diaz/archive/2008/07/25/load-test.aspx</link><pubDate>Fri, 25 Jul 2008 18:16:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3093708</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3093708.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3093708</wfw:commentRss><description>&lt;p&gt;Vi segnalo un &lt;a href="http://www.codeplex.com/SQLLoadTest" target="_blank"&gt;Load Test tool&lt;/a&gt; per Sql Server. Al momento la versione di Sql supportata è la 2005 e il software presenta alcune limitazioni&amp;nbsp; : &lt;/p&gt; &lt;h3&gt;Limitations &lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Only supports code that operates against a single database with a single connection.  &lt;li&gt;Prepared statements are not supported.  &lt;li&gt;The tool cannot (yet) configure and capture the trace for you, it requires you to use the SQL Profiler yourself to get a trace. With SQL 2005 it is possible to automate this.  &lt;li&gt;Not (yet) integrated into Visual Studio or the DB Pro edition.  &lt;li&gt;The tool has only been tested in an English environment, it is unlikely to work correctly in other environments, particularly with dates. In a future version this could be resolved by requiring the ExistingConnection event class, which lists language and date format.  &lt;li&gt;The tool does not support the XML data types.  &lt;li&gt;InputOutput parameters that are initialised with a NULL cannot be distinguished from Output-only parameters, so they are treated as Output only.  &lt;li&gt;When the trace passes a NULL to a binary parameter (e.g. image, binary, varbinary) the generated code will generate a runtime error. The generated code needs to be modified to pass SqlBinary.Null. The custom code generation extensibility point can be used to work around this.  &lt;li&gt;Positional parameters passed to SQL statements (as opposed to stored procedure calls) are not supported. &lt;/li&gt;&lt;/ol&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3093708" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2005/default.aspx">Sql Server 2005</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Tools/default.aspx">Tools</category></item><item><title>Sql Server Powershell Provider e SMO</title><link>http://blogs.technet.com/francesco_diaz/archive/2008/07/17/sql-server-powershell-provider-e-smo.aspx</link><pubDate>Thu, 17 Jul 2008 17:36:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3090179</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3090179.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3090179</wfw:commentRss><description>&lt;p&gt;Grazie al provider per Sql Server fornito con la powershell di Sql Server 2008 è possibile navigare all'interno della gerarchia degli oggetti di un'istanza Sql come se si trattasse di un file system. &lt;/p&gt; &lt;p&gt;Di seguito un piccolo esempio su come vedere la lista delle tabelle all'interno del database AdventureWorks :&lt;/p&gt; &lt;p&gt;Per avviare la powershell basta fare tasto destro sul nome dell'istanza e cliccare su "Start PowerShell"&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/SqlServerPowershellProvider_F1CE/StartPowershell_2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="398" alt="StartPowershell" src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/SqlServerPowershellProvider_F1CE/StartPowershell_thumb.jpg" width="259" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Per vedere la lista delle tabelle è sufficiente eseguire i classici comandi MS-DOS per posizionarsi all'interno del percorso richiesto :&lt;/p&gt; &lt;ol&gt; &lt;li&gt;cd databases\AdventureWorks2008\Tables (per posizionarsi all'interno della collection delle tabelle)  &lt;li&gt;dir (per vedere la lista delle tabelle)&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/SqlServerPowershellProvider_F1CE/dir_powershell_4.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="331" alt="dir_powershell" src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/SqlServerPowershellProvider_F1CE/dir_powershell_thumb_1.jpg" width="723" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Per effettuare azioni sugli oggetti di Sql Server usiamo &lt;a href="http://msdn.microsoft.com/en-us/library/ms162169.aspx" target="_blank"&gt;SMO&lt;/a&gt; . Proviamo ora a creare una tabella all'interno del database AdventureWorks.&lt;/p&gt; &lt;p&gt;Prima di tutto registriamo (se necessario) l'assembly Microsoft.SqlServer.Smo.dll di Sql Server 2008 RC0 nella &lt;a href="http://msdn.microsoft.com/en-us/library/yf1d93sz.aspx" target="_blank"&gt;GAC&lt;/a&gt;. Il file si trova nella cartella \Program Files (x86)\Microsoft Sql Server\100\SDK\Assemblies\ .&lt;/p&gt; &lt;p&gt;Per effettuare la registrazione nella GAC sono necessari&amp;nbsp; i tools &lt;a href="http://msdn.microsoft.com/en-us/library/k5b5tt23.aspx" target="_blank"&gt;SN&lt;/a&gt; e &lt;a href="http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx" target="_blank"&gt;Gacutil&lt;/a&gt; reperibili nell'SDK del .NET Framework 2.0. La versione a 64 bit è reperibile &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=1AEF6FCE-6E06-4B66-AFE4-9AAD3C835D3D&amp;amp;displaylang=it" target="_blank"&gt;qui&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;I comandi da digitare sono i seguenti : &lt;/p&gt; &lt;p&gt;1) sn –Vr Microsoft.SqlServer.Smo.dll &lt;p&gt;2) gacutil –i Microsoft.SqlServer.Smo.dll &lt;p&gt;&amp;nbsp; &lt;p&gt;E ora da powershell creiamo la tabella "Tabella_di_test" all'interno del database AdventureWorks2008 :&lt;/p&gt; &lt;p&gt;" &lt;p&gt;$srv = New-Object Microsoft.SqlServer.Management.Smo.Server(".")  &lt;p&gt;$db = $srv.Databases["AdventureWorks2008"]  &lt;p&gt;$tbl = New-Object Microsoft.SqlServer.Management.Smo.Table  &lt;p&gt;$tbl.Parent = $db  &lt;p&gt;$tbl.Name = "Tabella_di_test"  &lt;p&gt;$col = New-Object Microsoft.SqlServer.Management.Smo.Column  &lt;p&gt;$col.Parent = $tbl  &lt;p&gt;$col.Name = "Colonna_di_test"  &lt;p&gt;$col.DataType = ([Microsoft.SqlServer.Management.Smo.DataType]::VarChar(50))  &lt;p&gt;$tbl.Columns.Add($col)  &lt;p&gt;$tbl.Create() &lt;p&gt;" &lt;p&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;Risorse aggiuntive&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/cc281947(SQL.100).aspx" href="http://msdn.microsoft.com/en-us/library/cc281947(SQL.100).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc281947(SQL.100).aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/cc281962(SQL.100).aspx" href="http://msdn.microsoft.com/en-us/library/cc281962(SQL.100).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc281962(SQL.100).aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/cc281939(SQL.100).aspx" href="http://msdn.microsoft.com/en-us/library/cc281939(SQL.100).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc281939(SQL.100).aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3090179" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2008/default.aspx">Sql Server 2008</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Service Broker - primi passi</title><link>http://blogs.technet.com/francesco_diaz/archive/2008/06/20/service-broker-primi-passi.aspx</link><pubDate>Fri, 20 Jun 2008 13:12:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3074940</guid><dc:creator>Francesco Diaz</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/francesco_diaz/comments/3074940.aspx</comments><wfw:commentRss>http://blogs.technet.com/francesco_diaz/commentrss.aspx?PostID=3074940</wfw:commentRss><description>&lt;P&gt;Service Broker è una tecnologia che è stata introdotta con Sql Server 2005. E'&amp;nbsp; un sistema di comunicazione basato sui messaggi integrato nell'engine di Sql Server. L'amministrazione può essere fatta direttamente tramite gli strumenti di gestione di Sql.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/managementstudio_2.png" mce_href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/managementstudio_2.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=399 alt=managementstudio src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/managementstudio_thumb.png" width=309 border=0 mce_src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/managementstudio_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q :&lt;/STRONG&gt; Quali sono gli utilizzi tipici del service broker ? &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;A : &lt;A title=http://technet.microsoft.com/it-it/library/ms166071.aspx href="http://technet.microsoft.com/it-it/library/ms166071.aspx" mce_href="http://technet.microsoft.com/it-it/library/ms166071.aspx"&gt;http://technet.microsoft.com/it-it/library/ms166071.aspx&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q : &lt;/STRONG&gt;Quali sono i vantaggi nell'utilizzo del service broker ?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;A : &lt;A title=http://technet.microsoft.com/it-it/library/ms166063.aspx href="http://technet.microsoft.com/it-it/library/ms166063.aspx" mce_href="http://technet.microsoft.com/it-it/library/ms166063.aspx"&gt;http://technet.microsoft.com/it-it/library/ms166063.aspx&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Alcuni degli elementi fondamentali sono : &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Le conversazioni&lt;/STRONG&gt;. Rappresentano il canale di comunicazione per i messaggi. 
&lt;LI&gt;&lt;STRONG&gt;Ordinamento ed il coordinamento dei messaggi&lt;/STRONG&gt;. Ogni conversazione è costituita da due lati : L'initiator è chi avvia la conversazione, il target è il destinatario. Ciascuno di essi ha una propria gestione delle code. 
&lt;LI&gt;&lt;STRONG&gt;Programmazione asincrona e transazionale&lt;/STRONG&gt;. Il recapito dei messaggi è transazionale (quindi un rollback di una operazione comporta il rollback di tutte le operazioni coinvolte) ed asincrono.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;A questo &lt;A href="http://msdn.microsoft.com/en-us/library/bb839495(SQL.100).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/bb839495(SQL.100).aspx"&gt;link&lt;/A&gt; è disponibile un tutorial che permette di testare il service broker con il database adventureworks &lt;STRONG&gt;(*)&lt;/STRONG&gt; e rappresenta un buon metodo per iniziare a familiarizzare con&amp;nbsp;questa tecnologia, mentre la documentazione di riferimento per il prodotto è disponibile &lt;A href="http://technet.microsoft.com/it-it/library/ms166104.aspx" target=_blank mce_href="http://technet.microsoft.com/it-it/library/ms166104.aspx"&gt;qui&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt; - I database di esempio per Sql Server 2008 RC0&amp;nbsp; sono reperibili sul sito CodePlex a questo &lt;A href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=14274" target=_blank mce_href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=14274"&gt;link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Per l'esecuzione dello script di creazione del database AdventureWorks potrebbe essere necessario abilitare il filestream per l'accesso da T-SQL. Per farlo occorre andare su Sql Server Configuration Manager nelle proprietà del servizio Sql Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/filestream_2.png" mce_href="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/filestream_2.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=330 alt=filestream src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/filestream_thumb.png" width=300 border=0 mce_src="http://blogs.technet.com/blogfiles/francesco_diaz/WindowsLiveWriter/ServiceBrokerprimocontatto_D1FA/filestream_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Per il popolamento del db inoltre potrebbe essere richiesto il cambio del path all'interno dello script per l'accesso tramite &lt;A href="http://msdn.microsoft.com/en-us/library/ms188365.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms188365.aspx"&gt;BULK INSERT&lt;/A&gt; ai file csv presenti nella cartella samples. 
&lt;P&gt;-- SET @data_path = 'C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks2008 OLTP\';&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3074940" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/T-SQL/default.aspx">T-SQL</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2008/default.aspx">Sql Server 2008</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Programmazione/default.aspx">Programmazione</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Service+Broker/default.aspx">Service Broker</category><category domain="http://blogs.technet.com/francesco_diaz/archive/tags/Sql+Server+2005/default.aspx">Sql Server 2005</category></item></channel></rss>