<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-11098269</id><updated>2011-11-30T21:50:11.484Z</updated><title type='text'>Flarepath Blog</title><subtitle type='html'>A blog about anything to do with Flarepath.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11098269.post-111623494003533807</id><published>2005-05-16T09:58:00.000+01:00</published><updated>2005-05-16T10:15:40.040+01:00</updated><title type='text'>Patch Experience Database</title><content type='html'>&lt;p class="MsoNormal"&gt;For those of you that have been to our site, you may have noticed a link called "Patch DB".  This free community area is for people to share knowledge or experience deploying patches.  We hope to get every IT or Patch manager to check this site before they deploy a patch.&lt;br /&gt;&lt;br /&gt;We need contributors though - the database will only be as good as the information it contains.  Anyone can view and search the database and there are three ways to search: by OS, by Patch/KB/Q/Article number of good old free text.&lt;br /&gt;&lt;br /&gt;On top of that, there is a pda version and we are also working on a web service that application developers can use to integrate into their applications.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;To post to the database, we do ask that you have a Flarepath member account.&lt;span style=""&gt;  &lt;/span&gt;This is so that we can track the posts and provide a facility for you to edit them at a later stage.&lt;span style=""&gt;  &lt;/span&gt;Member access to our web site is of course free.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;So get over to &lt;a href="http://www.flarepath.com/patchdb"&gt;http://www.flarepath.com/patchdb&lt;/a&gt; and start contributing.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-111623494003533807?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/111623494003533807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=111623494003533807' title='311 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111623494003533807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111623494003533807'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/05/patch-experience-database.html' title='Patch Experience Database'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>311</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-111278765039791773</id><published>2005-04-06T12:28:00.000+01:00</published><updated>2005-04-06T16:15:50.986+01:00</updated><title type='text'>2003 Service Pack 1 and SQL Server Reporting Services</title><content type='html'>&lt;p class="MsoNormal"&gt;After applying Service Pack 1 for Windows Server 2003, we found that the Reports folder on our SQL Server Reporting Services web site would return a 401: Unauthorised error.&lt;span style=""&gt;  &lt;/span&gt;We knew that everything was working ok before hand so it must have been a security change in the Service Pack that caused the problem. &lt;span style=""&gt;  &lt;/span&gt;We reported this issue to Microsoft and sent through several log files. &lt;/p&gt;     &lt;p class="MsoNormal"&gt;As usual, Microsoft’s technical support was first class and we had a solution the next day.&lt;span style=""&gt;  &lt;/span&gt;It turns out that Service Pack 1 has an update which is designed to detect and prevent “man-in-the-middle” attacks.&lt;span style=""&gt;  &lt;/span&gt;There were two suggested fixes for this.&lt;span style=""&gt;  &lt;/span&gt;The first was to run the Reports and ReportsServer virtual directories under the Default App Pool.&lt;span style=""&gt;  &lt;/span&gt;We tried this and it didn’t work for us.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;The second was to add a DWORD entry called DisableLoopbackCheck to HKLM\System\CurrentControlSet\Control\Lsa.&lt;span style=""&gt;  &lt;/span&gt;Setting this key to a value of 1 fixed our issue.&lt;/p&gt;     &lt;p class="MsoNormal"&gt;Our concern was that this would leave us open to attack but we decided that this attack vector was pretty slim (for us).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-111278765039791773?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/111278765039791773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=111278765039791773' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111278765039791773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111278765039791773'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/04/2003-service-pack-1-and-sql-server.html' title='2003 Service Pack 1 and SQL Server Reporting Services'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-111101765018694220</id><published>2005-03-16T23:54:00.000Z</published><updated>2005-03-17T00:12:18.630Z</updated><title type='text'>Batch File to Install the Agent on XP SP2</title><content type='html'>A customer asked me if they should install the agent on all computers or only on specific ones. You usually only need the agent if the computer falls into one of the following groups:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The Windows Update client is version 5 (XP SP2, Server 2003 SP 1 or WUS clients).&lt;/li&gt;&lt;li&gt;It is behind a firewall&lt;/li&gt;&lt;li&gt;DCOM/RPC or File &amp; Print have been disabled&lt;/li&gt;&lt;li&gt;It’s a laptop and only occasionally connects to the LAN&lt;/li&gt;&lt;/ul&gt;He has a mix of 2000 and XP SP 2 machines and wondered how to get the agent onto the machines so we came up with the following batch file which could be used as part of a logon script. I must admit that it’s been many years since I looked at good old batch files and it felt kind of good re-learning some of the commands :)&lt;br /&gt;&lt;br /&gt;Here is the batch file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;@ECHO OFF&lt;br /&gt;:CHECKXP&lt;br /&gt;SET XP=0&lt;br /&gt;REG.EXE QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName FIND/I "Microsoft Windows XP" &amp;amp;&amp; SET XP=1&lt;br /&gt;IF %XP% == 1 GOTO CHECKSP2&lt;br /&gt;GOTO END&lt;br /&gt;&lt;br /&gt;:CHECKSP2&lt;br /&gt;SET SP=0&lt;br /&gt;REG.EXE QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CSDVersion FIND/I "Service Pack 2" &amp;amp;&amp;amp; SET SP=2&lt;br /&gt;IF %SP% == 2 GOTO CHECKAGENT&lt;br /&gt;GOTO END&lt;br /&gt;&lt;br /&gt;:CHECKAGENT&lt;br /&gt;IF NOT EXIST "C:\Program Files\Flarepath Windows Update Analyser\Agent\FWUAAgent.exe" GOTO INSTALL&lt;br /&gt;GOTO END&lt;br /&gt;&lt;br /&gt;:INSTALL&lt;br /&gt;\\Brazil\FWUA$\Setup.exe /s /v/qn&lt;br /&gt;&lt;br /&gt;:END&lt;br /&gt;ECHO Flarepath WUA Agent check complete.&lt;br /&gt;PAUSE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;font&gt;You will have to change the location of the installation point to match yours and don't forget to configure the agent connection settings in Flarepath WUA Tools Options Agents prior to deploying the Agent.&lt;/font&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-111101765018694220?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/111101765018694220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=111101765018694220' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111101765018694220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111101765018694220'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/03/batch-file-to-install-agent-on-xp-sp2.html' title='Batch File to Install the Agent on XP SP2'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-111037354987617971</id><published>2005-03-09T12:41:00.000Z</published><updated>2005-03-09T13:17:25.836Z</updated><title type='text'>Going beyond the Query Editor - SUS Approval Logs</title><content type='html'>Ok, the query editor is pretty good at getting information out of the Flarepath WUA database but it is never going to meet every eventuality. I had a couple of questions recently about how to get information from the SUS Approval logs.&lt;br /&gt;&lt;br /&gt;The first was how to get a list of items that have not been approved or unapproved and also how long they have stayed like this. I generated two new queries (one to provide the information and another to show the approval history for a particular item) which will be included in an upcoming release.&lt;br /&gt;&lt;br /&gt;There are two tables that record the SUS Approval information. The first is called ApprovedEntries and records each instance of an approval list. The second is called ApprovedItems and records the items contained in the approval lists. They are related by a foreign key in the ApprovedItems table (ApprovedEntryID).&lt;br /&gt;&lt;br /&gt;The first query is relatively straight forward and just takes a basic join from the ApprovedItems and ApprovedEntries tables. I won’t go into detail about this query.&lt;br /&gt;&lt;br /&gt;The second query is much more complex and uses two temporary tables and a cursor.&lt;br /&gt;&lt;br /&gt;The first step is to get the last approval list. Flarepath WUA records this under the ApprovedEntries table. All the items that are on this approval list are stored in the ApprovedItems table and have a matching ApprovedEntryID field:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;DECLARE @last uniqueidentifier&lt;br /&gt;&lt;br /&gt;SELECT&lt;br /&gt;TOP 1&lt;br /&gt;@last = ApprovedEntryID&lt;br /&gt;FROM&lt;br /&gt;ApprovedEntries&lt;br /&gt;ORDER BY [Time]&lt;br /&gt;DESC &lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;This code just returns the newest ID and assigns it to a variable.&lt;br /&gt;&lt;br /&gt;We need to create two temporary tables to hold information:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;CREATE TABLE #SUSTemp&lt;br /&gt;(&lt;br /&gt;title nvarchar(200),&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;CREATE TABLE #SUSTemp2&lt;br /&gt;(&lt;br /&gt;Title nvarchar(200),&lt;br /&gt;[Time]&lt;br /&gt;datetime,&lt;br /&gt;Computer nvarchar(200)&lt;br /&gt;) &lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;We then need to select all the rows from the ApprovedItems table that have a matching ApprovedEntryID field are currently unapproved:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;INSERT INTO #SUSTemp&lt;br /&gt;(title)&lt;br /&gt;SELECT&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;FROM&lt;br /&gt;ApprovedItems&lt;br /&gt;INNER JOIN&lt;br /&gt;ApprovedEntries&lt;br /&gt;ON&lt;br /&gt;ApprovedItems.ApprovedEntryID =&lt;br /&gt;ApprovedEntries.ApprovedEntryID&lt;br /&gt;INNER JOIN&lt;br /&gt;SUSServers&lt;br /&gt;ON&lt;br /&gt;ApprovedEntries.SUSServerID = SUSServers.SUSServerID&lt;br /&gt;INNER JOIN&lt;br /&gt;Computers&lt;br /&gt;ON&lt;br /&gt;SUSServers.ServerID = Computers.ComputerID&lt;br /&gt;WHERE&lt;br /&gt;(ApprovedItems.Status = N'unapproved')&lt;br /&gt;AND&lt;br /&gt;(ApprovedItems.ApprovedEntryID = @last) &lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;This is why we need the temporary table.&lt;br /&gt;&lt;br /&gt;Once we have a list of all the titles (eg XP Service Pack 2) we then need to find when it first appeared in the SUS ApprovedItems table. To do this we have to use a Cursor. The problem with this cursor is that it will return a results set for each item it finds and although the Query Editor can cope with this, I wanted it to be returned as one set of results. This is what the seconds table is for, to take the results of the cursor:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;-- Use a cursor to iterate through this list...&lt;br /&gt;DECLARE @title nvarchar(200)&lt;br /&gt;&lt;br /&gt;DECLARE title_cursor CURSOR&lt;br /&gt;FOR&lt;br /&gt;SELECT title FROM #SUSTemp&lt;br /&gt;&lt;br /&gt;OPEN title_cursor&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM&lt;br /&gt;title_cursor&lt;br /&gt;INTO @title&lt;br /&gt;&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;--&lt;br /&gt;...to find the id of when it first appeared in the SUS approval list&lt;br /&gt;DECLARE&lt;br /&gt;@id uniqueidentifier&lt;br /&gt;&lt;br /&gt;SELECT TOP 1&lt;br /&gt;@id = ApprovedItems.ApprovedItemID&lt;br /&gt;FROM&lt;br /&gt;ApprovedItems&lt;br /&gt;INNER JOIN&lt;br /&gt;ApprovedEntries&lt;br /&gt;ON&lt;br /&gt;ApprovedItems.ApprovedEntryID = ApprovedEntries.ApprovedEntryID&lt;br /&gt;WHERE&lt;br /&gt;(ApprovedItems.Title = @title)&lt;br /&gt;ORDER BY&lt;br /&gt;ApprovedEntries.[Time]&lt;br /&gt;&lt;br /&gt;-- Insert the information about the item into the second temporary table&lt;br /&gt;INSERT INTO #SUSTemp2&lt;br /&gt;(&lt;br /&gt;Title,&lt;br /&gt;[Time],&lt;br /&gt;Computer&lt;br /&gt;)&lt;br /&gt;SELECT&lt;br /&gt;ApprovedItems.Title,&lt;br /&gt;ApprovedEntries.[Time],&lt;br /&gt;Computers.DNSHostName&lt;br /&gt;FROM&lt;br /&gt;Computers&lt;br /&gt;INNER JOIN&lt;br /&gt;SUSServers&lt;br /&gt;ON&lt;br /&gt;Computers.ComputerID = SUSServers.ServerID&lt;br /&gt;INNER JOIN&lt;br /&gt;ApprovedItems&lt;br /&gt;INNER JOIN&lt;br /&gt;ApprovedEntries&lt;br /&gt;ON&lt;br /&gt;ApprovedItems.ApprovedEntryID = ApprovedEntries.ApprovedEntryID&lt;br /&gt;ON&lt;br /&gt;SUSServers.SUSServerID = ApprovedEntries.SUSServerID&lt;br /&gt;WHERE&lt;br /&gt;(ApprovedItems.ApprovedItemID = @id)&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM title_cursor&lt;br /&gt;INTO @title&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE title_cursor&lt;br /&gt;DEALLOCATE title_cursor&lt;br /&gt;&lt;br /&gt;Once we have the results in the temporary table, we just return the&lt;br /&gt;results back to the query editor and clean up:&lt;br /&gt;&lt;br /&gt;-- Return the calculated&lt;br /&gt;results&lt;br /&gt;SELECT&lt;br /&gt;Title,&lt;br /&gt;DATEDIFF(d, [Time], GETDATE()) AS [Days&lt;br /&gt;Unapproved],&lt;br /&gt;[Time] AS Downloaded,&lt;br /&gt;Computer AS [SUS Server]&lt;br /&gt;FROM&lt;br /&gt;#SUSTemp2&lt;br /&gt;ORDER BY&lt;br /&gt;DATEDIFF(d, [Time], GETDATE()) DESC, Title&lt;br /&gt;&lt;br /&gt;-- Clean up&lt;br /&gt;DROP TABLE #SUSTemp&lt;br /&gt;DROP TABLE #SUSTemp2 &lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;NOTE: New updates will have a status of "none".&lt;br /&gt;&lt;br /&gt;Now because this is a special query, we have to tell the Query Editor to handle it differently. We set the "use base SQL" option to on in the Advanced Options of the query and then add a special "Placeholder" table. This allows us to then add as many fields as there are columns in the results and name them to whatever we want.&lt;br /&gt;&lt;br /&gt;The next questions were beyond the scope of the Query Editor but could be executed through SQL Query Analyser, SQL Enterprise Manager, OSQL or even Access/Excel. Again, I created two queries to answer these.&lt;br /&gt;&lt;br /&gt;The first query will return a list of new updates between two given dates:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;SELECT&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;FROM&lt;br /&gt;ApprovedItems INNER&lt;br /&gt;JOIN&lt;br /&gt;&lt;br /&gt;ApprovedEntries ON ApprovedItems.ApprovedEntryID =&lt;br /&gt;ApprovedEntries.ApprovedEntryID&lt;br /&gt;WHERE&lt;br /&gt;(ApprovedItems.Status = N'none')&lt;br /&gt;GROUP BY&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;HAVING&lt;br /&gt;(MIN(ApprovedEntries.[Time]) &gt;= CONVERT(DATETIME, '2005-01-08 00:00:00',&lt;br /&gt;102)) AND (MIN(ApprovedEntries.[Time]) &lt;= CONVERT(DATETIME, '2005-01-15 00:00:00', 102)) &lt;blockquote&gt;&lt;/blockquote&gt;&lt;span style="font-size:+0;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;As you can see, when SUS downloads new updates it assigns a status of “none” (this does not apply to automatically approved re-issued updates). All this query does is to pull a list of items that first appeared during the two dates.&lt;br /&gt;&lt;br /&gt;The second is a bit more complex and uses a sub-query to check to see if the update does not currently have an approval status:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;SELECT&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;FROM&lt;br /&gt;ApprovedItems INNER&lt;br /&gt;JOIN&lt;br /&gt;&lt;br /&gt;ApprovedEntries ON ApprovedItems.ApprovedEntryID =&lt;br /&gt;ApprovedEntries.ApprovedEntryID&lt;br /&gt;WHERE&lt;br /&gt;(ApprovedItems.Status = N'none') AND ApprovedItems.Title NOT IN&lt;br /&gt;(&lt;br /&gt;SELECT&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;FROM&lt;br /&gt;ApprovedItems INNER JOIN&lt;br /&gt;&lt;br /&gt;ApprovedEntries&lt;br /&gt;ON ApprovedItems.ApprovedEntryID =&lt;br /&gt;ApprovedEntries.ApprovedEntryID&lt;br /&gt;WHERE&lt;br /&gt;(ApprovedItems.Status &lt;&gt; N'none')&lt;br /&gt;GROUP BY&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;)&lt;br /&gt;GROUP BY&lt;br /&gt;ApprovedItems.Title&lt;br /&gt;HAVING&lt;br /&gt;(MIN(ApprovedEntries.[Time]) &gt;= CONVERT(DATETIME, '2004-10-08 00:00:00',&lt;br /&gt;102)) AND (MIN(ApprovedEntries.[Time]) &lt;= CONVERT(DATETIME, '2004-10-14 00:00:00', 102)) ORDER BY ApprovedItems.Title &lt;blockquote&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;If you would like to know how long these items have remained unapproved then simply add the following code to the first SELECT statement:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;DATEDIFF(d, MIN(ApprovedEntries.[Time]), GETDATE()) AS&lt;br /&gt;Age&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;I hope this has given you a little insight into the data collected by Flarepath WUA!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-111037354987617971?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/111037354987617971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=111037354987617971' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111037354987617971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/111037354987617971'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/03/going-beyond-query-editor-sus-approval.html' title='Going beyond the Query Editor - SUS Approval Logs'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-110960015692890379</id><published>2005-02-28T14:10:00.000Z</published><updated>2005-03-05T09:09:03.850Z</updated><title type='text'>Articles</title><content type='html'>The great thing about System Administrators on staff is being able to speculate about what we think people want to see – especially in our articles. Over the course of the next couple of weeks, we will be adding more articles demonstrating the features of Flarepath WUA.&lt;br /&gt;&lt;br /&gt;If though, you would like to see something or have a specific request please add to the comments and we will try to get it written up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-110960015692890379?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/110960015692890379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=110960015692890379' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110960015692890379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110960015692890379'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/02/articles.html' title='Articles'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-110953061426213331</id><published>2005-02-27T18:47:00.000Z</published><updated>2005-02-27T18:58:31.266Z</updated><title type='text'>Test, test and then think up some unimaginable scenarios</title><content type='html'>Well, just the next day after releasing 1.2 we had a report of an issue with the Query Editor showing live information.  Upon testing we replicated the issue and a patch has been created and is currently undergoing testing.  This problem is to do with IIS recording the date and time in UTC and we was something we really should have picked up on.&lt;br /&gt;&lt;br /&gt;Anyway, this got us thinking a bit more about regional information and although we develop and test in three regions (US, UK and Russia) we don’t actually work in different time zones.  All the servers and development machines are at the Head Office in the UK and everyone remote desktops in.&lt;br /&gt;&lt;br /&gt;With 1.2, Flarepath WUA and SQL Server have to be in the same time zone for the real time queries to work properly.  This is just something that we will have to live with for now but we will certainly take this into account during the development and testing of version 2.0!&lt;br /&gt;&lt;br /&gt;The scenarios may be unimaginable to us but you can bet that there are many people out there with exactly this type of setup.  If you’re one of them, drop us a line and we will work on a fix for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-110953061426213331?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/110953061426213331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=110953061426213331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110953061426213331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110953061426213331'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/02/test-test-and-then-think-up-some.html' title='Test, test and then think up some unimaginable scenarios'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-110943526622160185</id><published>2005-02-26T16:16:00.000Z</published><updated>2005-02-26T16:28:46.396Z</updated><title type='text'>WUA 2.0</title><content type='html'>Now that we have 1.2 out the door, we throw ourselves into version 2.0 :) WUA 2.0 will be developed exclusively using Visual Studio.NET 2005 and because there is no "go-live" licence with this yet, we won't be able to put any prototypes or alpha versions on our web site.&lt;br /&gt;&lt;br /&gt;For those of you who haven't purchased Flarepath WUA yet, you may not know that we provide access to early versions and beta releases. Unlike other software vendors, we provide access to our &lt;strong&gt;daily builds&lt;/strong&gt;. So, if a customer reports a problem and we fix it, the customer has access to that fix as soon as the build is made.&lt;br /&gt;&lt;br /&gt;This is going to be a pretty exciting time for us as we will be learning VS.NET 2005 Team System as well as developing our new version. We are going to compare this new development process against our current system of using Mantis (bug tracking) and Subversion (source code versioning) to see how it stacks up.&lt;br /&gt;&lt;br /&gt;Of course, the whole idea for 2.0 is to provide all the great features of Flarepath WUA for WUS. We started defining a feature set a while ago but we are really waiting until Microsoft make WUS RC 1 available for us to finalise things. I'll publish a list of features in a later blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-110943526622160185?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/110943526622160185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=110943526622160185' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110943526622160185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110943526622160185'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/02/wua-20.html' title='WUA 2.0'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11098269.post-110942988937230034</id><published>2005-02-26T14:55:00.000Z</published><updated>2005-02-26T14:58:09.373Z</updated><title type='text'>Version 1.2</title><content type='html'>We've all been working double time here at Flarpath getting 1.2 ready for release.  For the last couple of weeks it's been an endless round of test, fix, test fix....&lt;br /&gt;&lt;br /&gt;I hope you enjoy the new features in 1.2 - especially the new SUS Log Reader and I'd really like to hear from anyone who has any feedback on this, Flarepath WUA or the Client Tools.&lt;br /&gt;&lt;br /&gt;Glen Conway&lt;br /&gt;Technical Director&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11098269-110942988937230034?l=flarepath.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flarepath.blogspot.com/feeds/110942988937230034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11098269&amp;postID=110942988937230034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110942988937230034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11098269/posts/default/110942988937230034'/><link rel='alternate' type='text/html' href='http://flarepath.blogspot.com/2005/02/version-12.html' title='Version 1.2'/><author><name>Flarepath</name><uri>http://www.blogger.com/profile/02517527363445184709</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
