<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Return to LifeAsBob</title>
  <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/" />
  <link rel="self" href="http://www.lifeasbob.com/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2012-04-07T07:41:11.183-05:00</updated>
  <author>
    <name>Robert J. Horkay</name>
  </author>
  <subtitle>Horkay Blog</subtitle>
  <id>http://www.lifeasbob.com/</id>
  <generator uri="http://www.dasblog.net" version="2.0.7180.0">DasBlog</generator>
  <entry>
    <title>75 Days to Sweet Corn</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/04/04/75DaysToSweetCorn.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,312ad907-81d5-430e-8c9c-5fdf3c916c74.aspx</id>
    <published>2012-04-04T07:41:11.183-05:00</published>
    <updated>2012-04-07T07:41:11.183-05:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Tilled about 2/3 of an acre for Sweet Corn, planted about 1/2 of that today;
I'll wait 3 weeks and then plant the other half to stagger how it comes in.
</p>
        <p>
We'll see how it does, breaking ground that had been pasture for 27 years takes a
bit of work, I started in late winter during a warm spell, so the plowed ground would
have time to freeze and thaw helping break it up.
</p>
        <p>
You can see the size of the field here, took about 2.5 hours to plant 1/2 of it by
hand; i've got to get a planter, probably just one on a hand wheel.
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00748-20120404-0839.jpg" />
        </p>
        <p>
End Result:
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00750-20120404-0841.jpg" />
        </p>
        <p>
Ford 4000 with 6 foot disk after final pass, better known as "Little Blue".
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00752-20120404-0842.jpg" />
        </p>
        <p>
Corn Seed:
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00755-20120404-0845.jpg" />
        </p>
        <p>
 
</p>
        <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00756-20120404-0845.jpg" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=312ad907-81d5-430e-8c9c-5fdf3c916c74" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Using Rank function to get newest (or oldest) record from related records.</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/03/29/UsingRankFunctionToGetNewestOrOldestRecordFromRelatedRecords.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,38e9ae60-0910-4d6a-ae25-9dff5b7e51a4.aspx</id>
    <published>2012-03-29T12:52:57.823-05:00</published>
    <updated>2012-03-29T13:07:49.88575-05:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.lifeasbob.com/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I'm slow in applying the new SQL Server functions.
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/Ostrich-man-head-in-sand.gif" width="360" height="205" />
        </p>
        <p>
Recently I ran into a request where I needed to pull the newest record for a related
table several joins deep.  I finally decided to dig into and use the new rank
function to do it.  It resulted in a much better query plan with many fewer reads.
</p>
        <p>
Here is a simple example of using the rank function vs. using a correlated sub-query
with the max() function.  In this simple example there is no cost savings either
way that I could find, but real world scenarios are never this simple and you may
find like I did that it is time to look at the new functions.  Example below:
</p>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
use
</p>
          </font>
        </font>
        <font size="2">
          <font color="#000000"> tempdb</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
go
</p>
            <p>
            </p>
            <p>
Create
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">Table</font>
        </font>
        <font color="#000000" size="2"> ORDERS</font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">ORDERNUMBER </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">int</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">identity</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">primary</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">key</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">REFERENCE </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">int</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">not</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">null,</font>
        </font>
        <font color="#000000" size="2">SomeBSColumns </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">varchar</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">200</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">))
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
go
</p>
            <p>
insert
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">into</font>
        </font>
        <font color="#000000" size="2"> ORDERS</font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">REFERENCE</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">SomeBSColumns</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">values </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'order
1'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">),(</font>
        </font>
        <font color="#000000" size="2">2</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'order
2'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">),(</font>
        </font>
        <font color="#000000" size="2">3</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'order
3'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">),(</font>
        </font>
        <font color="#000000" size="2">4</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'order
4'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
go
</p>
            <p>
Create
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">Table</font>
        </font>
        <font color="#000000" size="2"> PhoneData</font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">PhoneKey </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">int</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">identity</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">primary</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">key</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2"> OrderNumber </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">int</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">not</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">null,</font>
        </font>
        <font color="#000000" size="2">NotesXML </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">varchar</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">1000</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">),</font>
        </font>
        <font color="#000000" size="2">TimeTag1 </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">datetime</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
go
</p>
            <p>
Create
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">nonclustered</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">index</font>
        </font>
        <font color="#000000" size="2"> ix_phoneData </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">on</font>
        </font>
        <font color="#000000" size="2"> PhoneData</font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">orderNumber</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
go
</p>
            <p>
            </p>
            <p>
insert
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">into</font>
        </font>
        <font color="#000000" size="2"> PhoneData</font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">OrderNumber</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">NotesXML</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">TimeTag1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">values
<p></p></font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'Not
Received'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/20/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,(</font>
        </font>
        <font size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'still
not received'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/22/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,(</font>
        </font>
        <font size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'loud
complaint'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/23/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,(</font>
        </font>
        <font size="2">1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'finally
received'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/24/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,(</font>
        </font>
        <font size="2">3</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'order
3 received, but broken'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/26/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,(</font>
        </font>
        <font size="2">3</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'another
replacement sent'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/27/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,(</font>
        </font>
        <font size="2">4</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'finally
received'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'02/22/2012
16:00:00.000'</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
go
</p>
          </font>
        </font>
        <font color="#008000" size="2">
          <font color="#008000" size="2">
            <p>
-----------------
</p>
          </font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
set
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">statistics</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">io</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">on
<p>
go
</p></font>
        </font>
        <font color="#008000" size="2">
          <font color="#008000" size="2">
            <p>
-- Rank()
</p>
          </font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
SELECT
</p>
          </font>
        </font>
        <font color="#000000" size="2"> x</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.*</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">FROM
</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">
            <p>
(
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">SELECT</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">distinct</font>
        </font>
        <font color="#000000" size="2"> o</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font color="#000000" size="2">ORDERNUMBER</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2">o</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font color="#000000" size="2">REFERENCE</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font color="#000000" size="2"> o</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font color="#000000" size="2">SomeBSColumns</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,
</font>
        </font>
        <font size="2">
          <p>
p
</p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">NotesXML</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font size="2">p</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">timetag1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#ff00ff" size="2">
          <font color="#ff00ff" size="2">RANK</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">()</font>
        </font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">over </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">partition</font>
        </font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">by</font>
        </font>
        <font size="2"> o</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">ORDERNUMBER </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">order</font>
        </font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">by</font>
        </font>
        <font size="2"> p</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">Timetag1 </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">DESC</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">as</font>
        </font>
        <font size="2">
        </font>
        <font color="#ff0000" size="2">
          <font color="#ff0000" size="2">'RANKING'
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
FROM
</p>
          </font>
        </font>
        <font size="2">
          <font color="#000000"> ORDERS o</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">
            <p>
LEFT
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">OUTER</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">JOIN</font>
        </font>
        <font color="#000000" size="2"> PhoneData
p </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">ON</font>
        </font>
        <font color="#000000" size="2"> o</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font color="#000000" size="2">ORDERNUMBER </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">=</font>
        </font>
        <font color="#000000" size="2"> p</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">
          <font color="#000000">ORDERNUMBER </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">
            <p>
)
</p>
          </font>
        </font>
        <font size="2">
          <font color="#000000"> x</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
WHERE
</p>
          </font>
        </font>
        <font color="#000000" size="2"> x</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font color="#000000" size="2">RANKING </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">=</font>
        </font>
        <font size="2">
          <font color="#000000"> 1</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
ORDER
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">BY</font>
        </font>
        <font color="#000000" size="2"> x</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">
          <font color="#000000">OrderNumber</font>
        </font>
        <font color="#008000" size="2">
          <font color="#008000" size="2">
            <p>
-- old way
</p>
            <p>
------
</p>
          </font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
Select
</p>
          </font>
        </font>
        <font color="#000000" size="2"> FIQ</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.*,</font>
        </font>
        <font color="#000000" size="2">p</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">
          <font color="#000000">NotesXML</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
From 
</p>
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">select</font>
        </font>
        <font size="2"> orders</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">ORDERNUMBER</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font size="2">orders</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">REFERENCE</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,</font>
        </font>
        <font size="2"> orders</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">SomeBSColumns</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">,
</font>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">
            <p>
            </p>
          </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">select</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#ff00ff" size="2">
          <font color="#ff00ff" size="2">MAX</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font color="#000000" size="2">TimeTag1</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">as</font>
        </font>
        <font color="#000000" size="2"> TimeTag1 </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">From</font>
        </font>
        <font color="#000000" size="2"> PhoneData
pIQ </font>
        <font color="#008000" size="2">
          <font color="#008000" size="2">-- Alias
- PhoneData Inner Query
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">where </font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">(</font>
        </font>
        <font size="2">ORDERS</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">ORDERNUMBER </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">=</font>
        </font>
        <font size="2"> pIQ</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">OrderNumber</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)
</font>
        </font>
        <font size="2">
          <p>
          </p>
        </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">as</font>
        </font>
        <font size="2"> TimeTag1
<p></p></font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">From</font>
        </font>
        <font size="2"> ORDERS
<p></p></font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">)</font>
        </font>
        <font size="2"> FIQ </font>
        <font color="#008000" size="2">
          <font color="#008000" size="2">--
Alias = First-Inner-Query
</font>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">
            <p>
Left
</p>
          </font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">Outer</font>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">Join</font>
        </font>
        <font color="#000000" size="2"> PhoneData
p </font>
        <font color="#0000ff" size="2">
          <font color="#0000ff" size="2">on</font>
        </font>
        <font size="2">
          <font color="#000000">
          </font>
          <p>
FIQ
</p>
        </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">ORDERNUMBER </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">=</font>
        </font>
        <font size="2"> p</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">OrderNumber
<p></p></font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">And</font>
        </font>
        <font size="2"> p</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">Timetag1 </font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">=</font>
        </font>
        <font size="2"> FIQ</font>
        <font color="#808080" size="2">
          <font color="#808080" size="2">.</font>
        </font>
        <font size="2">TimeTag1
</font>
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=38e9ae60-0910-4d6a-ae25-9dff5b7e51a4" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Deer Hill </title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/03/28/DeerHill.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,3eb810d2-9748-4167-ab60-89cbd19370da.aspx</id>
    <published>2012-03-28T12:34:04.338-05:00</published>
    <updated>2012-03-29T13:07:31.57325-05:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img border="0" src="http://www.lifeasbob.com/content/binary/WhitneyCrabApple.jpg" />
        <p>
Added a Whitney CrabApple to the North East Corner.
</p>
        <h1>Whitney Crabapple
</h1>
        <div class="Body">
          <p>
Small, sweet, edible crab apples. Pink-and-white blossoms in spring and loads of red,
golf-ball-size crab apples in late August to early September. Perfect for canning,
preserving, pickling and spiced apples. Flesh is sweet, juicy and slightly yellow.
</p>
          <p>
 
</p>
          <p>
            <font size="6">Elderberry - <i><font face="HighlanderStd-BookItalic"><font face="HighlanderStd-BookItalic">(Sambucus
canadensis)</font></font></i></font>
          </p>
          <p>
            <i>
              <font size="1" face="HighlanderStd-BookItalic">
                <font size="1" face="HighlanderStd-BookItalic">
                </font>
              </font>
            </i>
            <br />
Added a row of 25 Elderberry buses from MDC.
</p>
          <font size="1" face="HighlanderStd-Book">
            <font size="1" face="HighlanderStd-Book">
              <p align="left">
Found throughout the state in open woods, fence rows, roadsides and along borders
of streams and ponds. The flowers are large, showy, flat-topped white clusters that
appear in late May to June. The dark-purple berries are edible and make an excellent
jelly. Many species of birds and mammals eat the fruit, and deer browse the leaves
and branches. Will tolerate both wet and dry sites.<br /></p>
            </font>
          </font>
          <p>
See Updated maps in previous post.
</p>
        </div>
        <img border="0" src="http://www.lifeasbob.com/content/binary/Elderberry.jpg" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=3eb810d2-9748-4167-ab60-89cbd19370da" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Tree layout</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/03/19/TreeLayout.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,959e3af4-f34c-4844-babc-5b422cc80dd9.aspx</id>
    <published>2012-03-19T13:59:54.356-05:00</published>
    <updated>2012-03-19T13:59:54.3565265-05:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Mostly for my own benefit so that I can remember what is planted where, we'll see
what makes it.
</p>
        <p>
 
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/tree_layout4.jpg" />
        </p>
        <p>
 
</p>
        <img border="0" src="http://www.lifeasbob.com/content/binary/Tree_layout_legend.jpg" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=959e3af4-f34c-4844-babc-5b422cc80dd9" />
      </div>
    </content>
  </entry>
  <entry>
    <title>King Kutter Disc</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/02/21/KingKutterDisc.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,5528b8fd-11e5-4b0d-b46f-dfd043ffd7f6.aspx</id>
    <published>2012-02-21T08:36:54.555-06:00</published>
    <updated>2012-02-23T08:36:54.555-06:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Picked up the King Kutter Professional Angle Frame Disc yesterday.
</p>
        <p>
6 1/2, 20 Blades 16" Diam, with 3 adjustments, Notched discs on front, smooth discs
on back, category 1, quick Hitch compatible, 540lbs !
</p>
        <p>
 
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00708-20120221-1220.jpg" />
        </p>
        <p>
 
</p>
        <img border="0" src="http://www.lifeasbob.com/content/binary/IMG00709-20120221-1221.jpg" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=5528b8fd-11e5-4b0d-b46f-dfd043ffd7f6" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Parse XML in a Report</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/02/16/ParseXMLInAReport.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,6965ce42-501f-470d-81bf-c1a38eb62764.aspx</id>
    <published>2012-02-16T14:27:15.375-06:00</published>
    <updated>2012-02-16T14:28:29.90625-06:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.lifeasbob.com/CategoryView,category,SQL%2BServer.aspx" />
    <category term="SQL Server / Reporting Services" label="SQL Server / Reporting Services" scheme="http://www.lifeasbob.com/CategoryView,category,SQL%2BServer%2B%2c%2BReporting%2BServices.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Parsing an XML Node in a SQL Server Reporting services report.
</p>
        <p>
Nothing more fun than having to parse XML in a report.  
</p>
        <p>
It is basically the following steps:
</p>
        <p style="MARGIN: 0in 0in 0pt" class="MsoPlainText">
          <font color="#000000" size="3" face="Consolas">- modify the query in the dataset
to include the XML column</font>
        </p>
        <p style="MARGIN: 0in 0in 0pt" class="MsoPlainText">
          <font color="#000000" size="3" face="Consolas">- In the Report Properties (from the
report menu pad)</font>
        </p>
        <p style="MARGIN: 0in 0in 0pt" class="MsoPlainText">
          <font size="3">
            <font color="#000000">
              <font face="Consolas">
                <span style="mso-spacerun: yes">   </span>*
Add a Reference to System.XML</font>
            </font>
          </font>
        </p>
        <p style="MARGIN: 0in 0in 0pt" class="MsoPlainText">
          <font size="3">
            <font color="#000000">
              <font face="Consolas">
                <span style="mso-spacerun: yes">   </span>*
Paste the code from the attached txt file in Code section (this code is specific to
the XML that I was parsing, but the concept could be modified or enhanced as needed
based on your requirements)</font>
            </font>
          </font>
        </p>
        <p style="MARGIN: 0in 0in 0pt" class="MsoPlainText">
          <font color="#000000" size="3" face="Consolas">- Add a column to the report for what
you are getting from the XML (notes in my case) and set the textbox Expression to
=Code.ParseXML(Fields!{column here no brackets}.Value)</font>
        </p>
        <p>
        </p>
        <p>
Below is the code to paste into the code section
</p>
        <p>
Function ParseXML (ByVal xmlText as String) AS String<br />
Dim i as Integer<br />
Dim ret as String<br />
Dim xmlDoc As New System.Xml.XmlDocument<br />
Dim nodeList As System.Xml.XmlNodeList<br />
Dim node As System.Xml.XmlNode
</p>
        <p>
Try<br />
xmlDoc.LoadXml(xmlText)<br />
nodeList = xmlDoc.GetElementsByTagName("fd")
</p>
        <p>
' Loop through the nodelist returned by the "fd" query (should be only 1)<br />
For Each node In nodeList 
<br />
' Loop through all the child nodes of "fd" and format the key-value<br />
  For i = 0 to node.ChildNodes.Count - 1 
<br />
      ret = ret &amp; node.ChildNodes.Item(i).InnerText &amp;
vbCrLf<br />
  Next<br />
Next
</p>
        <p>
'If the DB is Null this sets the value to "N/A" instead of #Error<br />
Catch ex As Exception<br />
  ret = "N/A"<br />
  Return ret<br />
End Try
</p>
        <p>
'Format as date and time if it's an ETA<br />
Try<br />
Dim dt as DateTime<br />
  dt = DateTime.parse(ret)<br />
  ret = "ETA: " &amp; Format(dt, "General Date")<br />
Catch ex As Exception<br />
End Try
</p>
        <p>
Return ret
</p>
        <p>
End Function
</p>
        <hr />
        <p>
While working on this I found a new XML Editor, I have no idea if it works, but I
like it, "the interface is plain and convenient"!
</p>
        <p>
 
</p>
        <p>
        </p>
        <img border="0" src="http://www.lifeasbob.com/content/binary/xml_editor.jpg" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=6965ce42-501f-470d-81bf-c1a38eb62764" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Pleasant Hill BobCat again !</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/02/06/PleasantHillBobCatAgain.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,5ef2f3c5-e1c2-48bc-9911-5a841feef1ab.aspx</id>
    <published>2012-02-06T08:25:54.445-06:00</published>
    <updated>2012-02-06T08:25:54.4459347-06:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
          <img style="WIDTH: 520px; HEIGHT: 445px" border="0" src="http://www.lifeasbob.com/content/binary/PICT0012.JPG" width="1444" height="1348" />
        </p>
        <p>
Other than that, the usual pictures of deer, rabbits, coyotes, squirrels, possums
and racoons...
</p>
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=5ef2f3c5-e1c2-48bc-9911-5a841feef1ab" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Pleasant Hill Bobcat !</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/01/25/PleasantHillBobcat.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,ac119bfa-d3e7-4c1f-b707-04c32cf19452.aspx</id>
    <published>2012-01-25T14:22:21.187-06:00</published>
    <updated>2012-01-25T14:22:21.1875-06:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I finally caught a pic of a Bobcat I've seen running the property:
</p>
        <p>
 
</p>
        <p>
          <img style="WIDTH: 500px; HEIGHT: 357px" border="0" src="http://www.lifeasbob.com/content/binary/PICT0043.JPG" />
        </p>
        <p>
 
</p>
        <p>
          <img style="WIDTH: 500px; HEIGHT: 357px" border="0" src="http://www.lifeasbob.com/content/binary/PICT0064.JPG" />
        </p>
        <p>
Bunny:
</p>
        <p>
 
</p>
        <p>
          <img style="WIDTH: 500px; HEIGHT: 357px" border="0" src="http://www.lifeasbob.com/content/binary/PICT0058.JPG" />
        </p>
        <p>
Doe:
</p>
        <p>
 
</p>
        <img style="WIDTH: 500px; HEIGHT: 357px" border="0" src="http://www.lifeasbob.com/content/binary/PICT0009.JPG" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=ac119bfa-d3e7-4c1f-b707-04c32cf19452" />
      </div>
    </content>
  </entry>
  <entry>
    <title>First shed of 2012</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/01/24/FirstShedOf2012.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,85bfb903-7cd0-4acd-9ae1-909cc529bcdf.aspx</id>
    <published>2012-01-24T08:39:04.859-06:00</published>
    <updated>2012-01-24T08:39:04.859375-06:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
First shed of 2012 !  This is the second one I've ever found, so I feel pretty
lucky !  Found this in the bottom of a creek bed on my property.
</p>
        <p>
 
</p>
        <p>
          <img style="WIDTH: 568px; HEIGHT: 446px" border="0" src="http://www.lifeasbob.com/content/binary/IMG00675-20120120-1404.jpg" width="807" height="606" />
        </p>
        <p>
Yote
</p>
        <p>
 
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/PICT0107.JPG" width="807" height="606" />
        </p>
        <p>
Doe sneaking through creek:
</p>
        <p>
 
</p>
        <img border="0" src="http://www.lifeasbob.com/content/binary/PICT0033.JPG" width="807" height="606" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=85bfb903-7cd0-4acd-9ae1-909cc529bcdf" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Ruger SP101 22lr</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/01/14/RugerSP10122lr.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,ebbd17ed-1a1b-415d-8b8d-993b803ae66d.aspx</id>
    <published>2012-01-14T13:46:23.546-06:00</published>
    <updated>2012-01-14T13:46:55.625-06:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
As usual, Ruger seems that it can do no wrong, LCP, LC9, LCR, 10/22, Scout Rifle and
now the SP101 chambered in 22LR !
</p>
        <p>
This is another one of "the greatest things to come" from Ruger.  The SP101 is
their small frame revolver. This one have a 4" barrel with fiber optic front sight
and adjustable rear sight. Also has the wood insert rubber grips. Is all stainless
and a 8 shot cylinder.  I found this one for 525, so I couldn't pass it up, hopefully
the wife will forgive me...
</p>
        <p>
I prefer Smith and Wesson revolvers, as their triggers are a dream, but with the addition
of a Wolf Spring kit from Midway USA, it brings the Ruger in-line.
</p>
        <p>
          <img border="0" src="http://www.lifeasbob.com/content/binary/RugerSP101_22lr.jpg" />
        </p>
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=ebbd17ed-1a1b-415d-8b8d-993b803ae66d" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Ciener 22 conversion for the Beretta 92fs</title>
    <link rel="alternate" type="text/html" href="http://www.lifeasbob.com/2012/01/14/Ciener22ConversionForTheBeretta92fs.aspx" />
    <id>http://www.lifeasbob.com/PermaLink,guid,d145931d-c9e2-4389-bccc-0dee7ea1e6d1.aspx</id>
    <published>2012-01-14T13:34:21.046-06:00</published>
    <updated>2012-01-16T07:42:52.6213914-06:00</updated>
    <category term="Web_Blog" label="Web_Blog" scheme="http://www.lifeasbob.com/CategoryView,category,Web_Blog.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
If you have a 92 or 96 you have to have one of these. The Ciener kit converts you
Beretta to a 22LR in just seconds (It took me 10 seconds !).  I got these
from a police department who used them for training and was selling them off. 
Comes with two 15rd mags and the 22 upper. No FFL transfer was needed.  Very
nice, not near as expensive as the Beretta conversion.  
</p>
        <p>
I think If you can afford the Beretta conversion, it is better.  The Ciener is
different in two ways, the last round hold open does not work, and it does not have the
decocker / safety.  The Beretta kit does have the last round hold open and the
decocker safety.   The price difference was $300, so I'll live
without it.  Also the Beretta kit only has one 10 round magazine, the Ciener
has two 15 round magazines.  
</p>
        <p>
Accuracy is excellent on both, and 22LR is ammunition is cheap.
</p>
        <p>
 
</p>
        <img border="0" src="http://www.lifeasbob.com/content/binary/Ciener_22_Conversion.jpg" />
        <img width="0" height="0" src="http://www.lifeasbob.com/aggbug.ashx?id=d145931d-c9e2-4389-bccc-0dee7ea1e6d1" />
      </div>
    </content>
  </entry>
</feed>
