<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Input Formats</title><link>http://forums.iis.net/1141.aspx</link><description>Discussion of input formats such as ADS, BIN, COM, CSV, TSV, ETW, EVT, FS, HTTPERR, IIS, IISODBC, IISW3C, NCSA, NETMON, REG, TEXTWORD, TEXTLINE, URLSCAN, and W3C</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Select, Group by and Order by clause</title><link>http://forums.iis.net/thread/1900341.aspx</link><pubDate>Mon, 13 Apr 2009 19:31:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900341</guid><dc:creator>ksingla</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900341.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1900341</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t see any filter on eventId. Are you sure eventIds other than 540 have IP as null? Can you paste some data from your CSV showing different eventId entries?&lt;br /&gt;&lt;br /&gt;You should be able to use order by with &amp;quot;select *&amp;quot;. You need to aggregate the column when using group by and that is why &amp;quot;select *&amp;quot; with group by is usually not possible.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Kanwal&lt;/p&gt;</description></item><item><title>Select, Group by and Order by clause</title><link>http://forums.iis.net/thread/1900135.aspx</link><pubDate>Fri, 10 Apr 2009 17:24:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900135</guid><dc:creator>DirtySanchez</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900135.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1141&amp;PostID=1900135</wfw:commentRss><description>&lt;p&gt;Curious if anyone would know the the correct syntax for the below statement to show all event id&amp;#39;s. The way I&amp;#39;ve written it below it only shows 540 (logon&amp;#39;s), is there way for me to use the below code to show ALL event ID&amp;#39;s?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style="font-size:12pt;font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&amp;quot;select
date,time,evtid,status,username,ip from
\\myserver\logs\logfile.csv where ip is not
null order by date, time, evtid, status, username, ip asc&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;if I use the &amp;quot;select *&amp;nbsp; statement i&amp;#39;m unable to use the &amp;quot;group by&amp;quot; or &amp;quot;order by&amp;quot; clause because they do not match what is in the &amp;quot;select&amp;quot; clause.&amp;nbsp; Is there a way around this?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>