<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: max code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 18 May 2008 07:48:16 GMT</pubDate>
    <description>DZone Snippets: max code</description>
    <item>
      <title>sql count</title>
      <link>http://snippets.dzone.com/posts/show/3334</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;select count (*) as total from bppersondisabledstandardsetups group by setuptype;&lt;br /&gt;select distinct bppersondisabledstandardsetups.setuptype from bppersondisabledstandardsetups;&lt;br /&gt;select max(objid) from sdfields;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 19 Jan 2007 17:17:24 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3334</guid>
      <author>goodkail (Nicol&#225;s)</author>
    </item>
    <item>
      <title>Sql max search</title>
      <link>http://snippets.dzone.com/posts/show/3174</link>
      <description>Question:  I'm trying to retrieve some info from an Oracle database. I've got a table named Scoring with two fields - Name and Score. What I want to get is the highest score from the table and the name of the player.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;    SELECT Name, Score&lt;br /&gt;    FROM Scoring&lt;br /&gt;    WHERE Score = (select Max(Score) from Scoring);&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;http://www.techonthenet.com/sql/max.php&gt;</description>
      <pubDate>Tue, 19 Dec 2006 18:34:42 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3174</guid>
      <author>Mickael (Mickael)</author>
    </item>
    <item>
      <title>LIMIT - Make sure val falls between lower and upper bounds, inclusive; uses length for series values.</title>
      <link>http://snippets.dzone.com/posts/show/3111</link>
      <description>&lt;code&gt;&lt;br /&gt;    limit: func [&lt;br /&gt;        "Make sure val falls between lower and upper bounds, inclusive; uses length for series values."&lt;br /&gt;        val&lt;br /&gt;        lower [integer!]&lt;br /&gt;        upper [integer!]&lt;br /&gt;        /show "For series values, show extension/truncation (dot/none for extension, 3 dots for truncation)."&lt;br /&gt;        /local fill&lt;br /&gt;    ][&lt;br /&gt;        either not series? val [max min val upper lower] [&lt;br /&gt;            either all [&lt;br /&gt;                upper &gt;= length? val&lt;br /&gt;                lower &lt;= length? val&lt;br /&gt;            ] [val] [&lt;br /&gt;                ; If extending the series, use NONE as the fill value, so the&lt;br /&gt;                ; block can still be processed easily.&lt;br /&gt;                fill: either any-string? val ["."] [none]&lt;br /&gt;                head either lower &gt;= length? val [&lt;br /&gt;                    insert/only/dup tail val fill subtract lower length? val&lt;br /&gt;                ][&lt;br /&gt;                    clear skip val upper&lt;br /&gt;                    either show [change/dup skip tail val -3 '. 3] [val]&lt;br /&gt;                ]&lt;br /&gt;            ]&lt;br /&gt;        ]&lt;br /&gt;    ]&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 08 Dec 2006 22:46:02 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3111</guid>
      <author>gregg.irwin (Gregg Irwin)</author>
    </item>
    <item>
      <title>limit function - limit a value within bounds</title>
      <link>http://snippets.dzone.com/posts/show/1540</link>
      <description>&lt;code&gt;&lt;br /&gt;limit: func [&lt;br /&gt;    "Make sure val falls between lower and upper bounds, inclusive"&lt;br /&gt;    val lower upper&lt;br /&gt;][&lt;br /&gt;    max min val upper lower&lt;br /&gt;]&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 21 Feb 2006 07:03:41 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1540</guid>
      <author>gregg.irwin (Gregg Irwin)</author>
    </item>
    <item>
      <title>max-of function</title>
      <link>http://snippets.dzone.com/posts/show/1087</link>
      <description>&lt;code&gt;&lt;br /&gt;    ; This returns only the maximum value out of context maximum-of returns the series&lt;br /&gt;    ; at the position of the maximum value found.&lt;br /&gt;    max-of: func [series [series!]] [attempt [first maximum-of series]]&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 10 Jan 2006 05:19:03 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1087</guid>
      <author>gregg.irwin (Gregg Irwin)</author>
    </item>
  </channel>
</rss>
