<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Data on Architecture and Data Blog</title>
    <link>https://sadalage.com/tags/data/</link>
    <description>Recent content in Data on Architecture and Data Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 13 Jul 2016 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sadalage.com/tags/data/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Two factor authentication to authorize credit&#34;</title>
      <link>https://sadalage.com/post/two-factor-authentication-to-authorize-credit/</link>
      <pubDate>Wed, 13 Jul 2016 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/two-factor-authentication-to-authorize-credit/</guid>
      <description>&lt;p&gt;&#xA;  &lt;img src=&#34;https://sadalage.com/img/present-flow.jpg&#34; alt=&#34;Simple flow of credit file usage by Individual Citizens&#34;&gt;&#xA;&#xA;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Perfectly good data.. wasted</title>
      <link>https://sadalage.com/post/use_the_data_you_have_already/</link>
      <pubDate>Wed, 05 Aug 2009 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/use_the_data_you_have_already/</guid>
      <description>&lt;p&gt;Okay this is kind of a rant, maybe I&amp;rsquo;m too picky or just that I hate to see perfectly good data not being used.  This is how it goes..&lt;/p&gt;&#xA;&lt;p&gt;I go regularly to this &lt;a href=&#34;http://www.target.com&#34;&gt;store&lt;/a&gt; to get Horizon organic milk for my family, about 60% of the time I see milk I need NOT in stock, okay I can live with that, may be lots of folks are buying organic milk, but not when it happens frequently, especially when the store knows how much milk was ordered (or supplied from the warehouse) and how much milk was sold, the store should be able to figure out that organic milk gets sold out pretty fast, putting my Business Intelligence (BI) hat on, I think the store should be able to predict when they are going to run out of organic milk ( for that matter any product), its especially frustrating when they have all the data they need to get it done.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Long Running Data Migrations during Database Refactorings</title>
      <link>https://sadalage.com/post/long_running_data_migrations/</link>
      <pubDate>Fri, 29 Jun 2007 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/long_running_data_migrations/</guid>
      <description>&lt;p&gt;When you are refactoring large databases, you will have certain tables that have millions of rows, so lets say we are doing the &lt;a href=&#34;http://databaserefactoring.com/MoveColumn.html&#34;&gt;Move Column&lt;/a&gt; refactoring, moving the TaxAmount column from Charge table which has millions of rows to TaxCharge table. Create the TaxAmount column in the TaxCharge table. Then have to move the data from the TaxAmount column in the Charge table to the TaxAmount column you created in the TaxCharge table.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Data Quality and Code Quality</title>
      <link>https://sadalage.com/post/data_quality_and_code_quality/</link>
      <pubDate>Thu, 15 Feb 2007 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/data_quality_and_code_quality/</guid>
      <description>&lt;p&gt;Recently we had peculiar problem. Some of the data in the database was not being created in a proper fashion. Once we found that out we fixed the problem in the application. The customer still had the perception that the code is still broken, because the fixed code was now interacting with the data that was broken (since it was created much earlier by code that was broken). Data has a life of its own (more on this later)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Nulls need special love</title>
      <link>https://sadalage.com/post/nulls_need_special_love/</link>
      <pubDate>Thu, 15 Feb 2007 00:00:00 +0000</pubDate>
      <guid>https://sadalage.com/post/nulls_need_special_love/</guid>
      <description>&lt;p&gt;The following SELECT statement in code&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#d0d0d0;background-color:#202020;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-java&#34; data-lang=&#34;java&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;stmt&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;=&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;DB.&lt;span style=&#34;color:#bbb&#34;&gt;prepare&lt;/span&gt;(&lt;span style=&#34;color:#ed9d13&#34;&gt;&amp;#34;select id,name,state,zip &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;+&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#ed9d13&#34;&gt;&amp;#34;from customer &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;+&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#ed9d13&#34;&gt;&amp;#34;where &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;+&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#ed9d13&#34;&gt;&amp;#34;phone = ? &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;+&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#ed9d13&#34;&gt;&amp;#34;and active = ?&amp;#34;&lt;/span&gt;);&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;&lt;/span&gt;stmt.&lt;span style=&#34;color:#bbb&#34;&gt;setString&lt;/span&gt;(1,&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;customerPhone);&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;&lt;/span&gt;stmt.&lt;span style=&#34;color:#bbb&#34;&gt;setBoolean&lt;/span&gt;(2,&lt;span style=&#34;color:#666&#34;&gt; &lt;/span&gt;isActive);&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#666&#34;&gt;&lt;/span&gt;stmt.&lt;span style=&#34;color:#bbb&#34;&gt;execute&lt;/span&gt;();&lt;span style=&#34;color:#666&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;where &lt;strong&gt;customerPhone&lt;/strong&gt; and &lt;strong&gt;isActive&lt;/strong&gt; are values you would pass in to the SELECT before its executed. Everything is fine when one day the value passed for &lt;strong&gt;customerPhone&lt;/strong&gt; is NULL. For a database (Oracle is what I know most) a NULL will never be equal to NULL , the SELECT will not return rows where the customer.phone is NULL, leading to wrong results. The SELECT will have to be changed to&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
