<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/6.11.7-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Christoph Muthmann - Neueste Kommentare auf Parameter Sniffing und Trace Flag 4136</title>
		<link>https://www.insidesql.org/blogs/cmu/?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.insidesql.org/blogs/cmu/?tempskin=_rss2&#38;disp=comments&#38;p=3543" />
		<description></description>
		<language>de-DE</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=6.11.7-stable"/>
		<ttl>60</ttl>
		<item>
			<title>cmu in Antwort auf: Parameter Sniffing und Trace Flag 4136</title>
			<pubDate>Fri, 26 Jul 2013 09:32:52 +0000</pubDate>
			<dc:creator><a href="https://www.insidesql.org/blogs/cmu/?disp=user&amp;user_ID=6" title="Benutzerprofil anzeigen" class="login user nowrap" rel="bubbletip_user_6"><span class="identity_link_username">cmu</span></a></dc:creator>
			<guid isPermaLink="false">c2349@https://www.insidesql.org/blogs/</guid>
			<description>Genau der war es! Hier noch die Infos aus dem KB-Artikel:
Enabling trace flag 4136 disables parameter sniffing, which is equivalent to adding an OPTIMIZE FOR UNKNOWN hint to each query which references a parameter. 

Queries that meet any of the following conditions still undergo parameter sniffing even if the trace flag is set.
• The parameter is specified by using the &quot;optimize for (@p = &lt;value&gt;)&quot; query hint.
• The query uses the &quot;option(recompile)&quot; query hint.
• The query is a part of a stored procedure that uses the &quot;with recompile&quot; option.&lt;/value&gt;</description>
			<content:encoded><![CDATA[Genau der war es! Hier noch die Infos aus dem KB-Artikel:
Enabling trace flag 4136 disables parameter sniffing, which is equivalent to adding an OPTIMIZE FOR UNKNOWN hint to each query which references a parameter. 

Queries that meet any of the following conditions still undergo parameter sniffing even if the trace flag is set.
• The parameter is specified by using the "optimize for (@p = <value>)" query hint.
• The query uses the "option(recompile)" query hint.
• The query is a part of a stored procedure that uses the "with recompile" option.</value>]]></content:encoded>
			<link>https://www.insidesql.org/blogs/cmu/sql_server/parameter-sniffing-und-trace-flag-4136#c2349</link>
		</item>
		<item>
			<title>tosc in Antwort auf: Parameter Sniffing und Trace Flag 4136</title>
			<pubDate>Fri, 26 Jul 2013 09:23:48 +0000</pubDate>
			<dc:creator><a href="http://de.linkedin.com/in/dbatosc" title="Benutzerprofil anzeigen" class="login user nowrap" rel="bubbletip_user_4"><span class="identity_link_username">tosc</span></a></dc:creator>
			<guid isPermaLink="false">c2348@https://www.insidesql.org/blogs/</guid>
			<description>Wenn mich nicht alles täuscht, war das der KB &lt;a href=&quot;http://support.microsoft.com/kb/980653&quot;&gt;http://support.microsoft.com/kb/980653&lt;/a&gt;</description>
			<content:encoded><![CDATA[Wenn mich nicht alles täuscht, war das der KB <a href="http://support.microsoft.com/kb/980653">http://support.microsoft.com/kb/980653</a>]]></content:encoded>
			<link>https://www.insidesql.org/blogs/cmu/sql_server/parameter-sniffing-und-trace-flag-4136#c2348</link>
		</item>
			</channel>
</rss>
