<?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>SSAS &#8211; SQLpowered.com</title>
	<atom:link href="https://sqlpowered.com/script-category/ssas/feed/" rel="self" type="application/rss+xml" />
	<link>https://sqlpowered.com</link>
	<description>SQL Server + BI</description>
	<lastBuildDate>Fri, 09 Mar 2018 13:45:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://sqlpowered.com/wp-content/uploads/2020/07/FavIcon-e1594067873682-99x100.png</url>
	<title>SSAS &#8211; SQLpowered.com</title>
	<link>https://sqlpowered.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Clear cube or dimesion cache</title>
		<link>https://sqlpowered.com/script/clear-cube-or-dimesion-cache/</link>
		
		<dc:creator><![CDATA[Jan Dvořák]]></dc:creator>
		<pubDate>Fri, 09 Mar 2018 13:45:31 +0000</pubDate>
				<guid isPermaLink="false">https://sqlpowered.com/?post_type=script&#038;p=2386</guid>

					<description><![CDATA[&#60;!--Database--&#62; &#60;Batch xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine"&#62; &#60;ClearCache&#62; &#60;Object&#62; &#60;DatabaseID&#62;TestDW&#60;/DatabaseID&#62; &#60;/Object&#62; &#60;/ClearCache&#62; &#60;/Batch&#62; &#60;!--Measure group--&#62; &#60;Batch xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine"&#62; &#60;ClearCache&#62; &#60;Object&#62; &#60;DatabaseID&#62;TestDW&#60;/DatabaseID&#62; &#60;CubeID&#62;TestCube&#60;/CubeID&#62; &#60;MeasureGroupID&#62;Sales&#60;/MeasureGroupID&#62; &#60;/Object&#62; &#60;/ClearCache&#62; &#60;/Batch&#62; &#60;!--Dimension--&#62; &#60;Batch xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine"&#62; &#60;ClearCache&#62; &#60;Object&#62; &#60;DatabaseID&#62;TestDW&#60;/DatabaseID&#62; &#60;DimensionID&#62;Dim Customer&#60;/DimensionID&#62; &#60;/Object&#62; &#60;/ClearCache&#62; &#60;/Batch&#62;]]></description>
										<content:encoded><![CDATA[<pre class="lang:tsql decode:true  ">&lt;!--Database--&gt;
&lt;Batch xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine"&gt;
  &lt;ClearCache&gt;
    &lt;Object&gt;
      &lt;DatabaseID&gt;TestDW&lt;/DatabaseID&gt;
    &lt;/Object&gt;
  &lt;/ClearCache&gt;
&lt;/Batch&gt;

&lt;!--Measure group--&gt;
&lt;Batch xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine"&gt;
  &lt;ClearCache&gt;
    &lt;Object&gt;
      &lt;DatabaseID&gt;TestDW&lt;/DatabaseID&gt;
      &lt;CubeID&gt;TestCube&lt;/CubeID&gt;
      &lt;MeasureGroupID&gt;Sales&lt;/MeasureGroupID&gt;
    &lt;/Object&gt;
  &lt;/ClearCache&gt;
&lt;/Batch&gt;

&lt;!--Dimension--&gt;
&lt;Batch xmlns = "http://schemas.microsoft.com/analysisservices/2003/engine"&gt;
  &lt;ClearCache&gt;
    &lt;Object&gt;
      &lt;DatabaseID&gt;TestDW&lt;/DatabaseID&gt;
      &lt;DimensionID&gt;Dim Customer&lt;/DimensionID&gt;
    &lt;/Object&gt;
  &lt;/ClearCache&gt;
&lt;/Batch&gt;</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Closing SSAS connection</title>
		<link>https://sqlpowered.com/script/closing-ssas-connection/</link>
		
		<dc:creator><![CDATA[Jan Dvořák]]></dc:creator>
		<pubDate>Fri, 09 Mar 2018 13:45:09 +0000</pubDate>
				<guid isPermaLink="false">https://sqlpowered.com/?post_type=script&#038;p=2385</guid>

					<description><![CDATA[SELECT * FROM $SYSTEM.DISCOVER_COMMANDS GO SELECT * FROM $SYSTEM.DISCOVER_SESSIONS GO SELECT * FROM $SYSTEM.DISCOVER_CONNECTIONS GO &#60;Cancel xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"&#62; &#60;ConnectionID&#62;100&#60;/ConnectionID&#62; &#60;/Cancel&#62;]]></description>
										<content:encoded><![CDATA[<pre class="lang:tsql decode:true  ">SELECT * FROM $SYSTEM.DISCOVER_COMMANDS
GO
SELECT * FROM $SYSTEM.DISCOVER_SESSIONS
GO
SELECT * FROM $SYSTEM.DISCOVER_CONNECTIONS
GO

&lt;Cancel xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"&gt;
  &lt;ConnectionID&gt;100&lt;/ConnectionID&gt;
&lt;/Cancel&gt;</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
