Skip to content
Browse files

Site updated at 2012-12-14 10:35:40 UTC

  • Loading branch information...
1 parent ddf0b9a commit fe1aa8e09fe55033baf3e3ad39aaeaaf696196ee @arcusfelis committed Dec 14, 2012
View
6 about/index.html
@@ -281,7 +281,11 @@ <h1 class="entry-title">Uvarov Michael</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
27 atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[freeakk.github.com]]></title>
<link href="http://freeakk.github.com/atom.xml" rel="self"/>
<link href="http://freeakk.github.com/"/>
- <updated>2012-10-02T14:33:19+04:00</updated>
+ <updated>2012-12-14T14:35:26+04:00</updated>
<id>http://freeakk.github.com/</id>
<author>
<name><![CDATA[Uvarov Michael]]></name>
@@ -15,6 +15,31 @@
<entry>
<title type="html"><![CDATA[ODBC, MS SQL Server and Erlang]]></title>
+ <link href="http://freeakk.github.com/blog/2012/07/02/odbc-sql/"/>
+ <updated>2012-07-02T19:12:00+04:00</updated>
+ <id>http://freeakk.github.com/blog/2012/07/02/odbc-sql</id>
+ <content type="html"><![CDATA[<h2>Date and time</h2>
+
+<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
+<span class='line-number'>2</span>
+</pre></td><td class='code'><pre><code class=''><span class='line'>odbc:sql_query(S, "SELECT {fn CURDATE()}").
+</span><span class='line'>{selected,[[]],[{"2012-10-02"}]}</span></code></pre></td></tr></table></div></figure>
+
+
+
+
+<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
+<span class='line-number'>2</span>
+</pre></td><td class='code'><pre><code class=''><span class='line'>odbc:sql_query(S, "SELECT getdate()").
+</span><span class='line'>{selected,[[]],[{ {{2012,10,23},{2,6,37}} }]}</span></code></pre></td></tr></table></div></figure>
+
+
+<p><code>{{2012,10,23},{2,6,37}}</code> has a type <code>sql_datetime</code>.</p>
+]]></content>
+ </entry>
+
+ <entry>
+ <title type="html"><![CDATA[Install ODBC and MS SQL Server client for Erlang]]></title>
<link href="http://freeakk.github.com/blog/2012/07/02/odbc/"/>
<updated>2012-07-02T19:12:00+04:00</updated>
<id>http://freeakk.github.com/blog/2012/07/02/odbc</id>
View
6 blog/2012/06/15/pipes/index.html
@@ -167,7 +167,11 @@ <h1 class="entry-title">Pipes</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
8 blog/2012/07/02/dialyzer/index.html
@@ -190,7 +190,7 @@ <h1 class="entry-title">Dialyzer</h1>
<a class="basic-alignment left" href="/blog/2012/06/15/pipes/" title="Previous Post: Pipes">&laquo; Pipes</a>
- <a class="basic-alignment right" href="/blog/2012/07/02/odbc/" title="Next Post: ODBC, MS SQL Server and Erlang">ODBC, MS SQL Server and Erlang &raquo;</a>
+ <a class="basic-alignment right" href="/blog/2012/07/02/odbc/" title="Next Post: Install ODBC and MS SQL Server client for Erlang">Install ODBC and MS SQL Server client for Erlang &raquo;</a>
</p>
</footer>
@@ -205,7 +205,11 @@ <h1 class="entry-title">Dialyzer</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
234 blog/2012/07/02/odbc-sql/index.html
@@ -0,0 +1,234 @@
+
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
+<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
+<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <title>ODBC, MS SQL Server and Erlang - freeakk.github.com</title>
+ <meta name="author" content="Uvarov Michael">
+
+
+ <meta name="description" content="Date and time 1
+2
+odbc:sql_query(S, "SELECT {fn CURDATE()}").
+{selected,[[]],[{"2012-10-02"}]} 1
+2
+odbc:sql_query(S, "SELECT getdate()").
+{selected &hellip;">
+
+
+ <!-- http://t.co/dKP3o1e -->
+ <meta name="HandheldFriendly" content="True">
+ <meta name="MobileOptimized" content="320">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+
+ <link rel="canonical" href="http://freeakk.github.com/blog/2012/07/02/odbc-sql">
+ <link href="/favicon.png" rel="icon">
+ <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
+ <script src="/javascripts/modernizr-2.0.js"></script>
+ <script src="/javascripts/ender.js"></script>
+ <script src="/javascripts/octopress.js" type="text/javascript"></script>
+ <link href="/atom.xml" rel="alternate" title="freeakk.github.com" type="application/atom+xml">
+ <!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
+<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
+<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
+
+
+
+</head>
+
+<body >
+ <header role="banner"><hgroup>
+ <h1><a href="/">freeakk.github.com</a></h1>
+
+</hgroup>
+
+</header>
+ <nav role="navigation"><ul class="subscription" data-subscription="rss">
+ <li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
+
+</ul>
+
+<form action="http://google.com/search" method="get">
+ <fieldset role="search">
+ <input type="hidden" name="q" value="site:freeakk.github.com" />
+ <input class="search" type="text" name="q" results="0" placeholder="Search"/>
+ </fieldset>
+</form>
+
+<ul class="main-navigation">
+ <li><a href="/">Blog</a></li>
+ <li><a href="/blog/archives">Archives</a></li>
+ <li><a href="/about">About me</a></li>
+</ul>
+
+</nav>
+ <div id="main">
+ <div id="content">
+ <div>
+<article class="hentry" role="article">
+
+ <header>
+
+ <h1 class="entry-title">ODBC, MS SQL Server and Erlang</h1>
+
+
+ <p class="meta">
+
+
+
+
+
+
+
+
+
+
+
+
+<time datetime="2012-07-02T19:12:00+04:00" pubdate data-updated="true">Jul 2<span>nd</span>, 2012</time>
+
+ </p>
+
+ </header>
+
+
+<div class="entry-content"><h2>Date and time</h2>
+
+<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
+<span class='line-number'>2</span>
+</pre></td><td class='code'><pre><code class=''><span class='line'>odbc:sql_query(S, "SELECT {fn CURDATE()}").
+</span><span class='line'>{selected,[[]],[{"2012-10-02"}]}</span></code></pre></td></tr></table></div></figure>
+
+
+
+
+<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
+<span class='line-number'>2</span>
+</pre></td><td class='code'><pre><code class=''><span class='line'>odbc:sql_query(S, "SELECT getdate()").
+</span><span class='line'>{selected,[[]],[{ {{2012,10,23},{2,6,37}} }]}</span></code></pre></td></tr></table></div></figure>
+
+
+<p><code>{{2012,10,23},{2,6,37}}</code> has a type <code>sql_datetime</code>.</p>
+</div>
+
+
+ <footer>
+ <p class="meta">
+
+
+
+<span class="byline author vcard">Posted by <span class="fn">Uvarov Michael</span></span>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<time datetime="2012-07-02T19:12:00+04:00" pubdate data-updated="true">Jul 2<span>nd</span>, 2012</time>
+
+
+<span class="categories">
+
+ <a class='category' href='/blog/categories/erlang/'>Erlang</a>, <a class='category' href='/blog/categories/odbc/'>ODBC</a>, <a class='category' href='/blog/categories/datetime/'>datetime</a>
+
+</span>
+
+
+ </p>
+
+ <div class="sharing">
+
+ <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://freeakk.github.com/blog/2012/07/02/odbc-sql/" data-via="" data-counturl="http://freeakk.github.com/blog/2012/07/02/odbc-sql/" >Tweet</a>
+
+
+
+</div>
+
+
+ <p class="meta">
+
+ <a class="basic-alignment left" href="/blog/2012/07/02/odbc/" title="Previous Post: Install ODBC and MS SQL Server client for Erlang">&laquo; Install ODBC and MS SQL Server client for Erlang</a>
+
+
+ </p>
+ </footer>
+</article>
+
+</div>
+
+<aside class="sidebar">
+
+ <section>
+ <h1>Recent Posts</h1>
+ <ul id="recent_posts">
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/dialyzer/">Dialyzer</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/06/15/pipes/">Pipes</a>
+ </li>
+
+ </ul>
+</section>
+
+
+
+
+
+
+
+</aside>
+
+
+ </div>
+ </div>
+ <footer role="contentinfo"><p>
+ Copyright &copy; 2012 - Uvarov Michael -
+ <span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
+</p>
+
+</footer>
+
+
+
+
+
+
+
+
+ <script type="text/javascript">
+ (function(){
+ var twitterWidgets = document.createElement('script');
+ twitterWidgets.type = 'text/javascript';
+ twitterWidgets.async = true;
+ twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
+ document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
+ })();
+ </script>
+
+
+
+
+
+</body>
+</html>
View
12 blog/2012/07/02/odbc/index.html
@@ -5,7 +5,7 @@
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
- <title>ODBC, MS SQL Server and Erlang - freeakk.github.com</title>
+ <title>Install ODBC and MS SQL Server client for Erlang - freeakk.github.com</title>
<meta name="author" content="Uvarov Michael">
@@ -67,7 +67,7 @@
<header>
- <h1 class="entry-title">ODBC, MS SQL Server and Erlang</h1>
+ <h1 class="entry-title">Install ODBC and MS SQL Server Client for Erlang</h1>
<p class="meta">
@@ -265,6 +265,8 @@ <h1 class="entry-title">ODBC, MS SQL Server and Erlang</h1>
<a class="basic-alignment left" href="/blog/2012/07/02/dialyzer/" title="Previous Post: Dialyzer">&laquo; Dialyzer</a>
+ <a class="basic-alignment right" href="/blog/2012/07/02/odbc-sql/" title="Next Post: ODBC, MS SQL Server and Erlang">ODBC, MS SQL Server and Erlang &raquo;</a>
+
</p>
</footer>
</article>
@@ -278,7 +280,11 @@ <h1 class="entry-title">ODBC, MS SQL Server and Erlang</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
26 blog/archives/index.html
@@ -10,8 +10,8 @@
<meta name="description" content="Blog Archive 2012 ODBC, MS SQL Server and Erlang
-Jul 02 2012 posted in Erlang, ODBC Dialyzer
-Jul 02 2012 posted in Dialyzer, Erlang, Xapian Pipes &hellip;">
+Jul 02 2012 posted in Erlang, ODBC, datetime Install ODBC and MS SQL Server client for Erlang
+Jul &hellip;">
<!-- http://t.co/dKP3o1e -->
@@ -80,7 +80,21 @@ <h1 class="entry-title">Blog Archive</h1>
<article>
-<h1><a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a></h1>
+<h1><a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a></h1>
+<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
+
+<footer>
+ <span class="categories">posted in <a class='category' href='/blog/categories/erlang/'>Erlang</a>, <a class='category' href='/blog/categories/odbc/'>ODBC</a>, <a class='category' href='/blog/categories/datetime/'>datetime</a></span>
+</footer>
+
+
+</article>
+
+
+
+<article>
+
+<h1><a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a></h1>
<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
<footer>
@@ -132,7 +146,11 @@ <h1 class="entry-title">Blog Archive</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
37 blog/categories/datetime/atom.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+ <title><![CDATA[Category: datetime | freeakk.github.com]]></title>
+ <link href="http://freeakk.github.com/blog/categories/datetime/atom.xml" rel="self"/>
+ <link href="http://freeakk.github.com/"/>
+ <updated>2012-12-14T14:35:26+04:00</updated>
+ <id>http://freeakk.github.com/</id>
+ <author>
+ <name><![CDATA[Uvarov Michael]]></name>
+
+ </author>
+ <generator uri="http://octopress.org/">Octopress</generator>
+
+
+ <entry>
+ <title type="html"><![CDATA[ODBC, MS SQL Server and Erlang]]></title>
+ <link href="http://freeakk.github.com/blog/2012/07/02/odbc-sql/"/>
+ <updated>2012-07-02T19:12:00+04:00</updated>
+ <id>http://freeakk.github.com/blog/2012/07/02/odbc-sql</id>
+ <content type="html"><![CDATA[<h2>Date and time</h2>
+
+<p><code>
+odbc:sql_query(S, "SELECT {fn CURDATE()}").
+{selected,[[]],[{"2012-10-02"}]}
+</code></p>
+
+<p><code>
+odbc:sql_query(S, "SELECT getdate()").
+{selected,[[]],[{ {{2012,10,23},{2,6,37}} }]}
+</code></p>
+
+<p><code>{{2012,10,23},{2,6,37}}</code> has a type <code>sql_datetime</code>.</p>
+]]></content>
+ </entry>
+
+</feed>
View
163 blog/categories/datetime/index.html
@@ -0,0 +1,163 @@
+
+<!DOCTYPE html>
+<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
+<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
+<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <title>Category: datetime - freeakk.github.com</title>
+ <meta name="author" content="Uvarov Michael">
+
+
+ <meta name="description" content="Category: datetime">
+
+
+ <!-- http://t.co/dKP3o1e -->
+ <meta name="HandheldFriendly" content="True">
+ <meta name="MobileOptimized" content="320">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+
+ <link rel="canonical" href="http://freeakk.github.comblog/categories/datetime">
+ <link href="/favicon.png" rel="icon">
+ <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
+ <script src="/javascripts/modernizr-2.0.js"></script>
+ <script src="/javascripts/ender.js"></script>
+ <script src="/javascripts/octopress.js" type="text/javascript"></script>
+ <link href="/atom.xml" rel="alternate" title="freeakk.github.com" type="application/atom+xml">
+ <!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
+<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
+<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
+
+
+
+</head>
+
+<body >
+ <header role="banner"><hgroup>
+ <h1><a href="/">freeakk.github.com</a></h1>
+
+</hgroup>
+
+</header>
+ <nav role="navigation"><ul class="subscription" data-subscription="rss">
+ <li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
+
+</ul>
+
+<form action="http://google.com/search" method="get">
+ <fieldset role="search">
+ <input type="hidden" name="q" value="site:freeakk.github.com" />
+ <input class="search" type="text" name="q" results="0" placeholder="Search"/>
+ </fieldset>
+</form>
+
+<ul class="main-navigation">
+ <li><a href="/">Blog</a></li>
+ <li><a href="/blog/archives">Archives</a></li>
+ <li><a href="/about">About me</a></li>
+</ul>
+
+</nav>
+ <div id="main">
+ <div id="content">
+ <div>
+<article role="article">
+
+ <header>
+ <h1 class="entry-title">Category: Datetime</h1>
+
+ </header>
+
+ <div id="blog-archives" class="category">
+
+
+
+
+ <h2>2012</h2>
+
+<article>
+
+<h1><a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a></h1>
+<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
+
+<footer>
+ <span class="categories">posted in <a class='category' href='/blog/categories/erlang/'>Erlang</a>, <a class='category' href='/blog/categories/odbc/'>ODBC</a>, <a class='category' href='/blog/categories/datetime/'>datetime</a></span>
+</footer>
+
+
+</article>
+
+</div>
+
+
+</article>
+
+</div>
+
+<aside class="sidebar">
+
+ <section>
+ <h1>Recent Posts</h1>
+ <ul id="recent_posts">
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/dialyzer/">Dialyzer</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/06/15/pipes/">Pipes</a>
+ </li>
+
+ </ul>
+</section>
+
+
+
+
+
+
+
+</aside>
+
+
+ </div>
+ </div>
+ <footer role="contentinfo"><p>
+ Copyright &copy; 2012 - Uvarov Michael -
+ <span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
+</p>
+
+</footer>
+
+
+
+
+
+
+
+
+ <script type="text/javascript">
+ (function(){
+ var twitterWidgets = document.createElement('script');
+ twitterWidgets.type = 'text/javascript';
+ twitterWidgets.async = true;
+ twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
+ document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
+ })();
+ </script>
+
+
+
+
+
+</body>
+</html>
View
2 blog/categories/dialyzer/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Dialyzer | freeakk.github.com]]></title>
<link href="http://freeakk.github.com/blog/categories/dialyzer/atom.xml" rel="self"/>
<link href="http://freeakk.github.com/"/>
- <updated>2012-10-02T14:33:19+04:00</updated>
+ <updated>2012-12-14T14:35:26+04:00</updated>
<id>http://freeakk.github.com/</id>
<author>
<name><![CDATA[Uvarov Michael]]></name>
View
6 blog/categories/dialyzer/index.html
@@ -102,7 +102,11 @@ <h1 class="entry-title">Category: Dialyzer</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
23 blog/categories/erlang/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Erlang | freeakk.github.com]]></title>
<link href="http://freeakk.github.com/blog/categories/erlang/atom.xml" rel="self"/>
<link href="http://freeakk.github.com/"/>
- <updated>2012-10-02T14:33:19+04:00</updated>
+ <updated>2012-12-14T14:35:26+04:00</updated>
<id>http://freeakk.github.com/</id>
<author>
<name><![CDATA[Uvarov Michael]]></name>
@@ -15,6 +15,27 @@
<entry>
<title type="html"><![CDATA[ODBC, MS SQL Server and Erlang]]></title>
+ <link href="http://freeakk.github.com/blog/2012/07/02/odbc-sql/"/>
+ <updated>2012-07-02T19:12:00+04:00</updated>
+ <id>http://freeakk.github.com/blog/2012/07/02/odbc-sql</id>
+ <content type="html"><![CDATA[<h2>Date and time</h2>
+
+<p><code>
+odbc:sql_query(S, "SELECT {fn CURDATE()}").
+{selected,[[]],[{"2012-10-02"}]}
+</code></p>
+
+<p><code>
+odbc:sql_query(S, "SELECT getdate()").
+{selected,[[]],[{ {{2012,10,23},{2,6,37}} }]}
+</code></p>
+
+<p><code>{{2012,10,23},{2,6,37}}</code> has a type <code>sql_datetime</code>.</p>
+]]></content>
+ </entry>
+
+ <entry>
+ <title type="html"><![CDATA[Install ODBC and MS SQL Server client for Erlang]]></title>
<link href="http://freeakk.github.com/blog/2012/07/02/odbc/"/>
<updated>2012-07-02T19:12:00+04:00</updated>
<id>http://freeakk.github.com/blog/2012/07/02/odbc</id>
View
22 blog/categories/erlang/index.html
@@ -78,7 +78,21 @@ <h1 class="entry-title">Category: Erlang</h1>
<article>
-<h1><a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a></h1>
+<h1><a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a></h1>
+<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
+
+<footer>
+ <span class="categories">posted in <a class='category' href='/blog/categories/erlang/'>Erlang</a>, <a class='category' href='/blog/categories/odbc/'>ODBC</a>, <a class='category' href='/blog/categories/datetime/'>datetime</a></span>
+</footer>
+
+
+</article>
+
+
+
+<article>
+
+<h1><a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a></h1>
<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
<footer>
@@ -130,7 +144,11 @@ <h1 class="entry-title">Category: Erlang</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
23 blog/categories/odbc/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: ODBC | freeakk.github.com]]></title>
<link href="http://freeakk.github.com/blog/categories/odbc/atom.xml" rel="self"/>
<link href="http://freeakk.github.com/"/>
- <updated>2012-10-02T14:33:19+04:00</updated>
+ <updated>2012-12-14T14:35:26+04:00</updated>
<id>http://freeakk.github.com/</id>
<author>
<name><![CDATA[Uvarov Michael]]></name>
@@ -15,6 +15,27 @@
<entry>
<title type="html"><![CDATA[ODBC, MS SQL Server and Erlang]]></title>
+ <link href="http://freeakk.github.com/blog/2012/07/02/odbc-sql/"/>
+ <updated>2012-07-02T19:12:00+04:00</updated>
+ <id>http://freeakk.github.com/blog/2012/07/02/odbc-sql</id>
+ <content type="html"><![CDATA[<h2>Date and time</h2>
+
+<p><code>
+odbc:sql_query(S, "SELECT {fn CURDATE()}").
+{selected,[[]],[{"2012-10-02"}]}
+</code></p>
+
+<p><code>
+odbc:sql_query(S, "SELECT getdate()").
+{selected,[[]],[{ {{2012,10,23},{2,6,37}} }]}
+</code></p>
+
+<p><code>{{2012,10,23},{2,6,37}}</code> has a type <code>sql_datetime</code>.</p>
+]]></content>
+ </entry>
+
+ <entry>
+ <title type="html"><![CDATA[Install ODBC and MS SQL Server client for Erlang]]></title>
<link href="http://freeakk.github.com/blog/2012/07/02/odbc/"/>
<updated>2012-07-02T19:12:00+04:00</updated>
<id>http://freeakk.github.com/blog/2012/07/02/odbc</id>
View
22 blog/categories/odbc/index.html
@@ -78,7 +78,21 @@ <h1 class="entry-title">Category: ODBC</h1>
<article>
-<h1><a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a></h1>
+<h1><a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a></h1>
+<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
+
+<footer>
+ <span class="categories">posted in <a class='category' href='/blog/categories/erlang/'>Erlang</a>, <a class='category' href='/blog/categories/odbc/'>ODBC</a>, <a class='category' href='/blog/categories/datetime/'>datetime</a></span>
+</footer>
+
+
+</article>
+
+
+
+<article>
+
+<h1><a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a></h1>
<time datetime="2012-07-02T19:12:00+04:00" pubdate><span class='month'>Jul</span> <span class='day'>02</span> <span class='year'>2012</span></time>
<footer>
@@ -102,7 +116,11 @@ <h1 class="entry-title">Category: ODBC</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
2 blog/categories/xapian/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Xapian | freeakk.github.com]]></title>
<link href="http://freeakk.github.com/blog/categories/xapian/atom.xml" rel="self"/>
<link href="http://freeakk.github.com/"/>
- <updated>2012-10-02T14:33:19+04:00</updated>
+ <updated>2012-12-14T14:35:26+04:00</updated>
<id>http://freeakk.github.com/</id>
<author>
<name><![CDATA[Uvarov Michael]]></name>
View
6 blog/categories/xapian/index.html
@@ -116,7 +116,11 @@ <h1 class="entry-title">Category: Xapian</h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
69 index.html
@@ -9,8 +9,13 @@
<meta name="author" content="Uvarov Michael">
- <meta name="description" content="Here we are connecting to MS SQL Server 2008 on MS Windows XP from Erlang on Debian Linux. Part 1 Install utilities (FreeTDS SQL client): 1
-# apt-get &hellip;">
+ <meta name="description" content="Date and time 1
+2
+odbc:sql_query(S, "SELECT {fn CURDATE()}").
+{selected,[[]],[{"2012-10-02"}]} 1
+2
+odbc:sql_query(S, "SELECT getdate()").
+{selected &hellip;">
<!-- http://t.co/dKP3o1e -->
@@ -70,7 +75,59 @@
<header>
- <h1 class="entry-title"><a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a></h1>
+ <h1 class="entry-title"><a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a></h1>
+
+
+ <p class="meta">
+
+
+
+
+
+
+
+
+
+
+
+
+<time datetime="2012-07-02T19:12:00+04:00" pubdate data-updated="true">Jul 2<span>nd</span>, 2012</time>
+
+ </p>
+
+ </header>
+
+
+ <div class="entry-content"><h2>Date and time</h2>
+
+<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
+<span class='line-number'>2</span>
+</pre></td><td class='code'><pre><code class=''><span class='line'>odbc:sql_query(S, "SELECT {fn CURDATE()}").
+</span><span class='line'>{selected,[[]],[{"2012-10-02"}]}</span></code></pre></td></tr></table></div></figure>
+
+
+
+
+<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
+<span class='line-number'>2</span>
+</pre></td><td class='code'><pre><code class=''><span class='line'>odbc:sql_query(S, "SELECT getdate()").
+</span><span class='line'>{selected,[[]],[{ {{2012,10,23},{2,6,37}} }]}</span></code></pre></td></tr></table></div></figure>
+
+
+<p><code>{{2012,10,23},{2,6,37}}</code> has a type <code>sql_datetime</code>.</p>
+</div>
+
+
+
+
+ </article>
+
+
+ <article>
+
+ <header>
+
+ <h1 class="entry-title"><a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server Client for Erlang</a></h1>
<p class="meta">
@@ -376,7 +433,11 @@ <h1 class="entry-title"><a href="/blog/2012/06/15/pipes/">Pipes</a></h1>
<ul id="recent_posts">
<li class="post">
- <a href="/blog/2012/07/02/odbc/">ODBC, MS SQL Server and Erlang</a>
+ <a href="/blog/2012/07/02/odbc-sql/">ODBC, MS SQL Server and Erlang</a>
+ </li>
+
+ <li class="post">
+ <a href="/blog/2012/07/02/odbc/">Install ODBC and MS SQL Server client for Erlang</a>
</li>
<li class="post">
View
10 sitemap.xml
@@ -10,18 +10,22 @@
</url>
<url>
<loc>http://freeakk.github.com/blog/2012/07/02/odbc/</loc>
- <lastmod>2012-10-02T14:29:06+04:00</lastmod>
+ <lastmod>2012-10-02T14:48:01+04:00</lastmod>
+ </url>
+ <url>
+ <loc>http://freeakk.github.com/blog/2012/07/02/odbc-sql/</loc>
+ <lastmod>2012-10-23T13:10:53+04:00</lastmod>
</url>
<url>
<loc>http://freeakk.github.com/</loc>
- <lastmod>2012-10-02T14:29:06+04:00</lastmod>
+ <lastmod>2012-10-23T13:10:53+04:00</lastmod>
</url>
<url>
<loc>http://freeakk.github.com/about/</loc>
<lastmod>2012-06-15T19:08:01+04:00</lastmod>
</url>
<url>
<loc>http://freeakk.github.com/blog/archives/</loc>
- <lastmod>2012-10-02T14:29:06+04:00</lastmod>
+ <lastmod>2012-10-23T13:10:53+04:00</lastmod>
</url>
</urlset>

0 comments on commit fe1aa8e

Please sign in to comment.
Something went wrong with that request. Please try again.