<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Torsten&#039;s Blog &#187; SQL</title>
	<atom:link href="http://www.mssccmfaq.de/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mssccmfaq.de</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 16:42:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CM12 &#8211; SQL 2008 R2 &#8211; Report Builder</title>
		<link>http://www.mssccmfaq.de/2012/02/02/cm12-sql-2008-r2-report-builder/</link>
		<comments>http://www.mssccmfaq.de/2012/02/02/cm12-sql-2008-r2-report-builder/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 18:33:40 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10653</guid>
		<description><![CDATA[Verwendet man SQL 2008 R2 (plus SP1 und CU4; weitere unterstützte SQL-Versionen hier) für den Einsatz von ConfigMgr 2012, so ist es nicht möglich, SSRS-Reports über die Admin Konsole zu editieren. Man erhält dabei folgende Fehlermeldung: &#8220;Report Builder not available Report Builder 2.0 is not installed as a click-once application on report server &#8216;xyz&#8217;&#8221; Diese [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Verwendet man SQL 2008 R2 (plus SP1 und CU4; weitere unterstützte SQL-Versionen <a title="CM12 RC2 – SQL Server 2008 Builds" href="http://www.mssccmfaq.de/2012/01/30/cm12-rc2-sql-server-2008-builds/" target="_blank">hier</a>) für den Einsatz von ConfigMgr 2012, so ist es nicht möglich, SSRS-Reports über die Admin Konsole zu editieren. Man erhält dabei folgende Fehlermeldung:</p>
<p>&#8220;Report Builder not available<br />
Report Builder 2.0 is not installed as a click-once application on report server &#8216;xyz&#8217;&#8221;</p>
<p><img class="size-full wp-image-10654 alignnone" title="Error_Report_Builder20" src="http://www.mssccmfaq.de/wp-content/uploads/2012/02/Error_Report_Builder20.gif" alt="" width="416" height="178" /></p>
<p>Diese Fehlermeldung ist sogar logisch, denn SQL 2008 R2 bringt den Report Builder 3.0 mit sich.</p>
<p>Lösung:</p>
<p>Auf dem PC, auf dem die Admin Konsole installiert ist, muss folgender REG_SZ-Registry-Wert angepasst werden:</p>
<p>HKLM/SOFTWARE/Wow6432Node/Microsoft/ConfigMgr10/AdminUI/Reporting/ReportBuilderApplicationManifestName</p>
<p>alt: ReportBuilder_2_0_0_0.application<br />
neu: ReportBuilder_3_0_0_0.application</p>
<p><img class="wp-image-10655 alignnone" title="SSRS_RepBuilder30" src="http://www.mssccmfaq.de/wp-content/uploads/2012/02/SSRS_RepBuilder30.gif" alt="" width="787" height="167" /></p>
<div class="shr-publisher-10653"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2012%2F02%2F02%2Fcm12-sql-2008-r2-report-builder%2F' data-shr_title='CM12+-+SQL+2008+R2+-+Report+Builder'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2012%2F02%2F02%2Fcm12-sql-2008-r2-report-builder%2F' data-shr_title='CM12+-+SQL+2008+R2+-+Report+Builder'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2012/02/02/cm12-sql-2008-r2-report-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CM12 RC2 &#8211; SQL Server 2008 Builds</title>
		<link>http://www.mssccmfaq.de/2012/01/30/cm12-rc2-sql-server-2008-builds/</link>
		<comments>http://www.mssccmfaq.de/2012/01/30/cm12-rc2-sql-server-2008-builds/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 20:15:24 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10645</guid>
		<description><![CDATA[Für ConfigMgr 2012 RC2 sind folgende SQL-Server-Konfiguration unterstützt. In Klammer finden sich zur einfacheren Orientierung die jeweiligen Build-Versionen. - SQL 2008 (RTM = 10.00.1600) SP2 (10.00.4000) CU7 (10.00.4323) und - SQL 2008 R2 (RTM = 10.50.1600.1) SP1 (10.50.2500.0) CU4 (10.50.2796.0) Für Secondaries Sites zusätzlich noch SQL Server Express 2008 R2 with SP1 and Cumulative Update 4 Die Build-Versionen erhält [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Für ConfigMgr 2012 RC2 sind folgende SQL-Server-Konfiguration unterstützt. In Klammer finden sich zur einfacheren Orientierung die jeweiligen Build-Versionen.</p>
<p>- SQL 2008 (RTM = 10.00.1600) SP2 (10.00.4000) CU7 (<strong>10.00.4323</strong>)<br />
und<br />
- SQL 2008 R2 (RTM = 10.50.1600.1) SP1 (10.50.2500.0) CU4 (<strong>10.50.2796.0</strong>)</p>
<p>Für Secondaries Sites zusätzlich noch<br />
SQL Server Express 2008 R2 with SP1 and Cumulative Update 4</p>
<p>Die Build-Versionen erhält man z.B. mit <em>select @@version</em> im SQL Management Studio.</p>
<div class="shr-publisher-10645"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2012%2F01%2F30%2Fcm12-rc2-sql-server-2008-builds%2F' data-shr_title='CM12+RC2+-+SQL+Server+2008+Builds'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2012%2F01%2F30%2Fcm12-rc2-sql-server-2008-builds%2F' data-shr_title='CM12+RC2+-+SQL+Server+2008+Builds'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2012/01/30/cm12-rc2-sql-server-2008-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ConfigMgr 2012 &#8211; SQL server / database collation</title>
		<link>http://www.mssccmfaq.de/2012/01/13/configmgr-2012-sql-server-database-collation/</link>
		<comments>http://www.mssccmfaq.de/2012/01/13/configmgr-2012-sql-server-database-collation/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 10:37:42 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10635</guid>
		<description><![CDATA[Für ConfigMgr 2012 muss unbedingt SQL_Latin1_General_CP1_CI_AS als server / database collation verwendet werden! Die Dokumentation http://technet.microsoft.com/en-us/library/gg682077.aspx ist etwas missverständlich. Man könnte meinen, dass dies nur für Hierarchien gilt, bei denen Replikation im Spiel ist (also CAS plus Primaries). Dies gilt aber ebenfalls für standalone primary Sites! Die Dokumentation wird noch angepasst.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Für ConfigMgr 2012 muss unbedingt <strong>SQL_Latin1_General_CP1_CI_AS</strong> als server / database collation verwendet werden! Die Dokumentation <a href="http://technet.microsoft.com/en-us/library/gg682077.aspx" target="_blank">http://technet.microsoft.com/en-us/library/gg682077.aspx</a> ist etwas missverständlich. Man könnte meinen, dass dies nur für Hierarchien gilt, bei denen Replikation im Spiel ist (also CAS plus Primaries). Dies gilt aber ebenfalls für standalone primary Sites! Die Dokumentation wird noch angepasst.</p>
<div class="shr-publisher-10635"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2012%2F01%2F13%2Fconfigmgr-2012-sql-server-database-collation%2F' data-shr_title='ConfigMgr+2012+-+SQL+server+%2F+database+collation'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2012%2F01%2F13%2Fconfigmgr-2012-sql-server-database-collation%2F' data-shr_title='ConfigMgr+2012+-+SQL+server+%2F+database+collation'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2012/01/13/configmgr-2012-sql-server-database-collation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ConfigMgr 2012 RC1 &#8211; SQL 2008 R2</title>
		<link>http://www.mssccmfaq.de/2011/12/03/configmgr-2012-rc1-sql-2008-r2/</link>
		<comments>http://www.mssccmfaq.de/2011/12/03/configmgr-2012-rc1-sql-2008-r2/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 20:55:22 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10630</guid>
		<description><![CDATA[Ab sofort ist auch SQL 2008 R2 für ConfigMgr 2012 RC1 supported. Es müssen allerdings SQL 2008 R2 SP1, CU3 für SQL 2008 R2 SP1 und KB2603910 installiert sein. UPDATE: der genannte Hofix (kb2603910) ist mittlerweile in CU4 enthalten. Somit ist SQL 2008 R2 SP1 + CU4 ebenfalls unterstützt.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Ab sofort ist auch SQL 2008 <em>R2</em> für ConfigMgr 2012 RC1 supported. Es müssen allerdings <a href="http://www.microsoft.com/downloads/de-de/details.aspx?FamilyID=b9aa2dba-7f20-4c0c-9afd-1eebee5a94ea" target="_blank">SQL 2008 R2 SP1</a>, <a href="http://support.microsoft.com/kb/2591748/en-us" target="_blank">CU3 für SQL 2008 R2 SP1</a> und <a href="http://support.microsoft.com/kb/2603910/en-us" target="_blank">KB2603910</a> installiert sein.<br />
UPDATE: der genannte Hofix (kb2603910) ist mittlerweile in CU4 enthalten. Somit ist SQL 2008 R2 SP1 + CU4 ebenfalls unterstützt.</p>
<div class="shr-publisher-10630"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F12%2F03%2Fconfigmgr-2012-rc1-sql-2008-r2%2F' data-shr_title='ConfigMgr+2012+RC1+-+SQL+2008+R2'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F12%2F03%2Fconfigmgr-2012-rc1-sql-2008-r2%2F' data-shr_title='ConfigMgr+2012+RC1+-+SQL+2008+R2'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2011/12/03/configmgr-2012-rc1-sql-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ConfigMgr 2012 &#8211; SQL-Replikation</title>
		<link>http://www.mssccmfaq.de/2011/11/08/configmgr-2012-sql-replikation/</link>
		<comments>http://www.mssccmfaq.de/2011/11/08/configmgr-2012-sql-replikation/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 22:53:28 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10584</guid>
		<description><![CDATA[Muss bei einem geplanten Einsatz einer Hierarchie (d.h. CAS und mind. 1 Primary Site) das SQL-Feature &#8220;SQL Server Replication&#8221; ebenfalls installiert werden?     Nein, denn die Replikation wird per &#8220;SQL Service Broker&#8221; abgehandelt.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Muss bei einem geplanten Einsatz einer Hierarchie (d.h. CAS und mind. 1 Primary Site) das SQL-Feature &#8220;SQL Server Replication&#8221; ebenfalls installiert werden?</p>
<p> <img class="size-full wp-image-10585 alignnone" title="SQL_Rep" src="http://www.mssccmfaq.de/wp-content/uploads/2011/11/SQL_Rep.gif" alt="" width="207" height="89" /></p>
<p>  Nein, denn die Replikation wird per &#8220;SQL Service Broker&#8221; abgehandelt.</p>
<div class="shr-publisher-10584"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F11%2F08%2Fconfigmgr-2012-sql-replikation%2F' data-shr_title='ConfigMgr+2012+-+SQL-Replikation'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F11%2F08%2Fconfigmgr-2012-sql-replikation%2F' data-shr_title='ConfigMgr+2012+-+SQL-Replikation'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2011/11/08/configmgr-2012-sql-replikation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ConfigMgr 2012 &#8211; SQL-Editionen</title>
		<link>http://www.mssccmfaq.de/2011/10/31/configmgr-2012-sql-editionen/</link>
		<comments>http://www.mssccmfaq.de/2011/10/31/configmgr-2012-sql-editionen/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 15:00:31 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[ConfigMgr 2012]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Tipps&Tricks]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10577</guid>
		<description><![CDATA[Unter ConfigMgr 2007 ist mit kein Zusammenhang zwischen SQL-Edition (Standard vs. Enterprise) und der maximalen Anzahl zu verwaltender Clients bekannt. Bei ConfigMgr 2012 wird sich dies aber ändern: bei Verwendung der SQL Standard Edition kann eine Hierarchie maximal 50.000 Clients verwalten. Mit SQL Enterprise erhöht sich diese Anzahl auf 400.000!]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Unter ConfigMgr 2007 ist mit kein Zusammenhang zwischen SQL-Edition (Standard vs. Enterprise) und der maximalen Anzahl zu verwaltender Clients bekannt.<br />
Bei ConfigMgr 2012 wird sich dies aber ändern: bei Verwendung der SQL Standard Edition kann eine Hierarchie maximal 50.000 Clients verwalten. Mit SQL Enterprise erhöht sich diese Anzahl auf 400.000!</p>
<div class="shr-publisher-10577"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F10%2F31%2Fconfigmgr-2012-sql-editionen%2F' data-shr_title='ConfigMgr+2012+-+SQL-Editionen'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F10%2F31%2Fconfigmgr-2012-sql-editionen%2F' data-shr_title='ConfigMgr+2012+-+SQL-Editionen'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2011/10/31/configmgr-2012-sql-editionen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reporting Services &#8211; Abhängige Parameter</title>
		<link>http://www.mssccmfaq.de/2011/07/28/reporting-services-abhangige-parameter/</link>
		<comments>http://www.mssccmfaq.de/2011/07/28/reporting-services-abhangige-parameter/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 22:22:35 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[SCCM]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10499</guid>
		<description><![CDATA[Diesen Blog-Artikel starte ich mit einer Frage: wer hat sich schon einmal über die Parameter-Auswahl beim SQL Reporting Services Point geärgert? Ich gehöre auf jeden Fall dazu. Doch warum? Folgendes Beispiel verdeutlicht dies: &#160; An sich keine schlechte Sache. Man hat zwei wundervolle drop-down Menüs, aus denen man die gewünschten Parameter auswählen kann. Allerdings gibt [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Diesen Blog-Artikel starte ich mit einer Frage: wer hat sich schon einmal über die Parameter-Auswahl beim SQL Reporting Services Point geärgert? Ich gehöre auf jeden Fall dazu. Doch warum?</p>
<p>Folgendes Beispiel verdeutlicht dies:</p>
<p><img class="size-full wp-image-10500 alignnone" title="SSRS01" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS01.png" alt="" width="580" height="129" /></p>
<p>&nbsp;</p>
<p>An sich keine schlechte Sache. Man hat zwei wundervolle drop-down Menüs, aus denen man die gewünschten Parameter auswählen kann. Allerdings gibt es hierbei meiner Meinung nach einen Haken. Beide Parameter (AdvertisementID und ComputerName) hängen direkt zusammen. Es besteht also die Möglichkeit, eine Auswahl zu treffen, die kein Ergebnis liefern kann, weil die Kombination so nicht existent ist. Wenn z.B. der virtuelle Firefox nur auf Windows7-Rechner angekündigt ist, dann resultiert die Auswahl eines XP-Rechners unweigerlich in einem Ergebnis ohne Treffer.<br />
Gleiches gilt zum Beispiel für einen Report, der (1) Softwarehersteller und (2) Softwareprodukt als Parameter hat. Wähle ich für (1) Microsoft, dann will ich bei (2) nur noch Produkte zur Auswahl bekommen, die von Microsoft sind (&#8220;SQL&#8221;, &#8220;ConfigMgr&#8221;, &#8220;Server 2008&#8243;, &#8220;Windows 7&#8243;, &#8220;Exchange&#8221;, &#8220;Word&#8221;, &#8220;Visio&#8221; usw.). Produkte wie &#8220;Adobe Reader&#8221;, &#8220;7zip&#8221;, &#8220;Firefox&#8221;, &#8220;SAPGUI&#8221; sollen gar nicht angezeigt werden. Eine Abfrage, die alle Rechner zeigen soll, auf denen &#8220;7zip&#8221; vom Hersteller &#8220;Adobe&#8221; installiert ist, kann keine Ergebnisse liefern.</p>
<p>Glücklicherweise lässt sich dies umsetzen! Allerdings muss man dazu die vertraute Welt der ConfigMgr Konsole verlassen und den SQL Report Builder verwenden.</p>
<p>Zuerst wird eine neue Datasource angelegt:</p>
<p><img class="size-full wp-image-10501" title="SSRS02" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS02.png" alt="" width="184" height="154" /></p>
<p>Zu Demo-Zwecken ist das bereits vorhandene default Report Model gut geeignet:</p>
<p><img class="size-full wp-image-10502 alignnone" title="SSRS03" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS03.png" alt="" width="503" height="206" /></p>
<p>&nbsp;</p>
<p>Anschliessend erzeugt man ein neues Dataset:</p>
<p><img class="size-full wp-image-10503 alignnone" title="SSRS04" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS04.png" alt="" width="161" height="124" /></p>
<p>&nbsp;</p>
<p>Folgendes SQL-Statement wurde dazu verwendet:</p>
<blockquote><p>SELECT    <br />
v_R_System.Name0,<br />
v_GS_ADD_REMOVE_PROGRAMS.Publisher0,<br />
v_GS_ADD_REMOVE_PROGRAMS.DisplayName0<br />
FROM        <br />
v_R_System<br />
INNER JOIN<br />
v_GS_ADD_REMOVE_PROGRAMS<br />
ON<br />
v_R_System.ResourceID = v_GS_ADD_REMOVE_PROGRAMS.ResourceID<br />
WHERE    <br />
(v_GS_ADD_REMOVE_PROGRAMS.DisplayName0 LIKE &#8216;%&#8217; + @Disp + &#8216;%&#8217;<br />
and<br />
Publisher0 like &#8216;%&#8217; + @Pub + &#8216;%&#8217;)</p></blockquote>
<p>Das Ergebnis sollte dann in etwa so aussehen:</p>
<p><img class="size-full wp-image-10505 alignnone" title="SSRS05" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS05.png" alt="" width="494" height="382" /></p>
<p>&nbsp;</p>
<p>Nach Schließen des &#8220;Dataset Properties&#8221;-Fenster sollten dann praktischerweise schon die in der SQL Query verwendeten Parameter (Variablen) auftauchen:<br />
 <img class="size-full wp-image-10507 alignnone" title="SSRS06" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS06.png" alt="" width="202" height="165" /> </p>
<p>&nbsp;</p>
<p>Anschließend werden 2 weitere Datasets erstellt: eines für die Abfrage aller vorhandenen Publisher und ein weiteres für die vorhandenen DisplayNames.</p>
<blockquote><p>SELECT<br />
distinct<br />
v_GS_ADD_REMOVE_PROGRAMS.Publisher0<br />
FROM<br />
v_GS_ADD_REMOVE_PROGRAMS<br />
where Publisher0 is not NULL</p></blockquote>
<p>DataSet_Publisher:<br />
<img class="size-full wp-image-10508 alignnone" title="SSRS07" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS07.png" alt="" width="494" height="382" /></p>
<p>&nbsp;</p>
<blockquote><p>SELECT<br />
distinct<br />
v_GS_ADD_REMOVE_PROGRAMS.DisplayName0<br />
FROM<br />
v_GS_ADD_REMOVE_PROGRAMS<br />
where Publisher0 like @Pub</p></blockquote>
<p>DataSet_DisplayName:<br />
<img class="size-full wp-image-10510 alignnone" title="SSRS08" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS08.png" alt="" width="494" height="380" /></p>
<p>&nbsp;</p>
<p>Als Ergebnis erhält man also 2 weitere Datasets, die in den Report-Parametern verwendet werden können</p>
<p><img class="size-full wp-image-10514 alignnone" title="SSRS12" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS12.png" alt="" width="184" height="229" /> </p>
<p>&nbsp;</p>
<p>Jetzt können die Parameter bearbeitet werden. Zuerst wird mit dem für die vorhandenen Publisher begonnen:</p>
<p><img class="size-full wp-image-10513 alignnone" title="SSRS10" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS10.png" alt="" width="590" height="290" /></p>
<p>&nbsp;</p>
<p>Unter &#8220;Available Values&#8221; wird der Wert &#8220;Get values from a query&#8221; und das vorhin angelegte Dataset (DataSet_Publisher) gewählt.</p>
<p>Gleiches wird analog für den Parameter &#8220;Disp&#8221; durchgeführt:</p>
<p><img class="size-full wp-image-10516 alignnone" title="SSRS11" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS11.png" alt="" width="545" height="289" /></p>
<p>&nbsp;</p>
<p>Abschließend noch eine Ergebnistabelle hinzufügen:</p>
<p><img class="size-full wp-image-10517 alignnone" title="SSRS13" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS13.png" alt="" width="635" height="351" /></p>
<p>&nbsp;</p>
<p>Und schon kann der Report in der Vorschau betrachtet werden:</p>
<p><img class="size-full wp-image-10519 alignnone" title="SSRS14" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS14.png" alt="" width="310" height="174" /></p>
<p>&nbsp;</p>
<p><img class="size-full wp-image-10521 alignnone" title="SSRS15" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS151.png" alt="" width="646" height="467" /></p>
<p>&nbsp;</p>
<p>Wie man sieht, wird bei der Auswahl von &#8220;Igor Pavlov&#8221; nur das Produkt &#8220;7-zip 4.65&#8243; angezeigt. Bei der Auswahl von &#8220;Microsoft Corporation&#8221; erhält man eine Auflistung der MS-Produkte, die in der Datenbank gefunden worden sind.</p>
<p>Die selbe Funktionalität ist natürlich auch vorhanden, wenn die Reports nach dem Publishen vom Reportserver aufgerufen werden:</p>
<p><img class="size-full wp-image-10523 alignnone" title="SSRS16" src="http://www.mssccmfaq.de/wp-content/uploads/2011/07/SSRS16.png" alt="" width="613" height="243" /></p>
<p>&nbsp;</p>
<p>Und jetzt viel Spaß und Erfolg beim Ausprobieren!</p>
<div class="shr-publisher-10499"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F07%2F28%2Freporting-services-abhangige-parameter%2F' data-shr_title='Reporting+Services+-+Abh%C3%A4ngige+Parameter+'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2011%2F07%2F28%2Freporting-services-abhangige-parameter%2F' data-shr_title='Reporting+Services+-+Abh%C3%A4ngige+Parameter+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2011/07/28/reporting-services-abhangige-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL 2008 SP2 supported</title>
		<link>http://www.mssccmfaq.de/2010/12/09/sql-2008-sp2-supported/</link>
		<comments>http://www.mssccmfaq.de/2010/12/09/sql-2008-sp2-supported/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 08:36:08 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10344</guid>
		<description><![CDATA[SQL Server 2008 R2 ist ab sofort für ConfigMgr 2007 SP1, SP2, R2 supportet. Kein Hotfix dafür nötig.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>SQL Server 2008 R2 ist ab sofort für ConfigMgr 2007 SP1, SP2, R2 supportet. Kein Hotfix dafür nötig.</p>
<div class="shr-publisher-10344"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2010%2F12%2F09%2Fsql-2008-sp2-supported%2F' data-shr_title='SQL+2008+SP2+supported'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2010%2F12%2F09%2Fsql-2008-sp2-supported%2F' data-shr_title='SQL+2008+SP2+supported'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2010/12/09/sql-2008-sp2-supported/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subselect / not in &#8211; Abfragen</title>
		<link>http://www.mssccmfaq.de/2009/12/14/subselect-not-in-abfragen/</link>
		<comments>http://www.mssccmfaq.de/2009/12/14/subselect-not-in-abfragen/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 11:30:52 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Collections]]></category>
		<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WQL]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10048</guid>
		<description><![CDATA[Eine Abfrage zu erstellen, welches System eine bestimmte Software installiert hat, ist einfach. Wenn man aber eine Collection haben will, die nur die Rechner enthält, welche eine  Software nicht hat, so wird&#8217;s etwas komplizierter. Folgendes Beispiel dient zur Verdeutlichung. Am besten startet man mit einer Liste der Rechner, die die Software installiert haben, so z.B. &#8220;zeige mir alle [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Eine Abfrage zu erstellen, welches System eine bestimmte Software installiert hat, ist einfach.<br />
Wenn man aber eine Collection haben will, die nur die Rechner enthält, welche eine  Software <em>nicht</em> hat, so wird&#8217;s etwas komplizierter. Folgendes Beispiel dient zur Verdeutlichung.</p>
<p>Am besten startet man mit einer Liste der Rechner, die die Software installiert haben, so z.B. &#8220;<em>zeige mir alle Rechner, die Winzip 9.0 installiert haben</em>&#8220;:</p>
<p><span style="color: #0000ff;">select distinct SMS_R_System.Name from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like &#8220;%Winzip 9.0%</span></p>
<p>Um sich jetzt die Rechner anzeigen zu lassen, die Winzip 9.0 nicht installiert haben muss man das &#8220;<strong>subselect &#8230; not in</strong>&#8221; &#8211; Statement verwenden.</p>
<p>&#8220;<em>Zeige mir alle Rechner, aber nicht die, die Winzip 9.0 installiert haben</em>&#8220;, was nichts anderes bedeutet als &#8220;<em>alle Rechner ohne Winzip 9.0</em>&#8220;:</p>
<p><span style="color: #ff0000;">select distinct Name from SMS_R_System where Name not in</span> (<span style="color: #0000ff;">select distinct SMS_R_System.Name from  SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like &#8220;%Winzip 9.0%&#8221;</span>)</p>
<p>In der GUI erkennt man auch sehr gut, dass der &#8220;Subselect&#8221; &#8211; Teil genau die erste Query (blau markiert) meines Beispieles ist, der nur der &#8220;not in&#8221; &#8211; Teil vorangestellt ist:</p>
<p><img class="alignnone size-full wp-image-10051" title="subselect_notin" src="http://www.mssccmfaq.de/wp-content/uploads/2009/12/subselect_notin.gif" alt="subselect_notin" width="281" height="298" /></p>
<div class="shr-publisher-10048"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2009%2F12%2F14%2Fsubselect-not-in-abfragen%2F' data-shr_title='Subselect+%2F+not+in+-+Abfragen'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2009%2F12%2F14%2Fsubselect-not-in-abfragen%2F' data-shr_title='Subselect+%2F+not+in+-+Abfragen'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2009/12/14/subselect-not-in-abfragen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Antivirus-Exlusions (allgem)</title>
		<link>http://www.mssccmfaq.de/2009/12/04/antivirus-exlusions-allgem/</link>
		<comments>http://www.mssccmfaq.de/2009/12/04/antivirus-exlusions-allgem/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 15:03:00 +0000</pubDate>
		<dc:creator>Torsten</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[ConfigMgr]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.mssccmfaq.de/?p=10046</guid>
		<description><![CDATA[Virenscanner sind gut und wichtig &#8211; in manchen Fällen können aber unerwünscht Resultate entstehen (z.B. Performance-Einbußen oder konfliktverursachende Zuriffe auf Dateien). kb943556 beschreibt empfohlene Exclusions beim Scannen von diversen Microsoft Produkten.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Virenscanner sind gut und wichtig &#8211; in manchen Fällen können aber unerwünscht Resultate entstehen (z.B. Performance-Einbußen oder konfliktverursachende Zuriffe auf Dateien). <a href="http://support.microsoft.com/default.aspx/kb/943556/en-us" target="_blank">kb943556 </a>beschreibt empfohlene Exclusions beim Scannen von diversen Microsoft Produkten.</p>
<div class="shr-publisher-10046"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2009%2F12%2F04%2Fantivirus-exlusions-allgem%2F' data-shr_title='Antivirus-Exlusions+%28allgem%29'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.mssccmfaq.de%2F2009%2F12%2F04%2Fantivirus-exlusions-allgem%2F' data-shr_title='Antivirus-Exlusions+%28allgem%29'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.mssccmfaq.de/2009/12/04/antivirus-exlusions-allgem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

