<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 14:53:40 +0000</lastBuildDate>
    <item>
      <title>(SQL) Calculating distance in Kilometres and Miles from Latitude and Longitude - zingo</title>
      <link>https://snipplr.com/view/24082/calculating-distance-in-kilometres-and-miles-from-latitude-and-longitude</link>
      <description>&lt;p&gt;Using SQL you can have your database return the distance between 2 sets of Lat and Long points, and using some math functions also take into account the curvature of the earth.&lt;/p&gt;</description>
      <pubDate>Tue, 01 Dec 2009 20:22:06 UTC</pubDate>
      <guid>https://snipplr.com/view/24082/calculating-distance-in-kilometres-and-miles-from-latitude-and-longitude</guid>
    </item>
    <item>
      <title>(SQL) Storing an IP address in a database table - zingo</title>
      <link>https://snipplr.com/view/5761/storing-an-ip-address-in-a-database-table</link>
      <description>&lt;p&gt;You can store an IP address in an INT UNSIGNED (4 bytes) which is of course much more efficient and faster than a CHAR(15).&#13;
MySQL has two built-in functions: INET_ATON() and INET_NTOA(). These two functions are used allover the place in any TCP/IP stack implementation or even application.&#13;
The INET_ATON() function converts Internet addresses from the numbers-and-dots notation into a 32-bit unsigned integer, and INET_NTOA() does the opposite.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Apr 2008 20:31:52 UTC</pubDate>
      <guid>https://snipplr.com/view/5761/storing-an-ip-address-in-a-database-table</guid>
    </item>
    <item>
      <title>(SQL) Differences between two Tables - zingo</title>
      <link>https://snipplr.com/view/4869/differences-between-two-tables</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 01 Feb 2008 04:26:53 UTC</pubDate>
      <guid>https://snipplr.com/view/4869/differences-between-two-tables</guid>
    </item>
    <item>
      <title>(SQL) Generate Simple Bar Charts From a MySQL Prompt - zingo</title>
      <link>https://snipplr.com/view/3934/generate-simple-bar-charts-from-a-mysql-prompt</link>
      <description>&lt;p&gt;You can generate a simple bar chart of the values by executing this command...&lt;/p&gt;</description>
      <pubDate>Fri, 19 Oct 2007 00:40:13 UTC</pubDate>
      <guid>https://snipplr.com/view/3934/generate-simple-bar-charts-from-a-mysql-prompt</guid>
    </item>
  </channel>
</rss>
