<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Sem categoria &#8211; Sóstenes Dias</title>
	<atom:link href="https://sostenesdias.com/category/sem-categoria/feed/" rel="self" type="application/rss+xml" />
	<link>https://sostenesdias.com</link>
	<description>Desenvolvedor FullStack</description>
	<lastBuildDate>Tue, 30 Mar 2021 19:46:08 +0000</lastBuildDate>
	<language>pt-PT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">184923537</site>	<item>
		<title>Listando processos Suspensos do SQL Server</title>
		<link>https://sostenesdias.com/2019/02/12/listando-processos-suspensos-do-sql-server/</link>
					<comments>https://sostenesdias.com/2019/02/12/listando-processos-suspensos-do-sql-server/#respond</comments>
		
		<dc:creator><![CDATA[sostenes]]></dc:creator>
		<pubDate>Tue, 12 Feb 2019 19:23:24 +0000</pubDate>
				<category><![CDATA[Sem categoria]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://sostenesdias.com.br/?p=98</guid>

					<description><![CDATA[Às vezes é útil identificar processos bloqueados e/ou suspensos no sql server. Através do comando abaixo essas informações podem ser facilmente obtidas.]]></description>
										<content:encoded><![CDATA[
<p>Às vezes é útil identificar processos bloqueados e/ou suspensos no sql server. Através do comando abaixo essas informações podem ser facilmente obtidas.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-sql">DECLARE @WhoTable TABLE
(
       SPID INT,
       [Status] VARCHAR(MAX),
       [Login] VARCHAR(MAX),
       HostName VARCHAR(MAX),
       BlkBy VARCHAR(MAX),
       DBName VARCHAR(MAX),
       Command VARCHAR(MAX),
       CPUTime INT,
       DiskIO INT,
       LastBatch VARCHAR(MAX),
       ProgramName VARCHAR(MAX),
       SPID_1 INT,
       REQUESTID INT
)
INSERT INTO @WhoTable EXEC sp_Who2;
SELECT *
FROM   @WhoTable where Status=&#039;SUSPENDED&#039;  order by CPUTime desc;</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://sostenesdias.com/2019/02/12/listando-processos-suspensos-do-sql-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">98</post-id>	</item>
	</channel>
</rss>
