<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 94: Automatically add column LINENUM to each row</title><link>https://sourceforge.net/p/csvjdbc/feature-requests/94/</link><description>Recent changes to 94: Automatically add column LINENUM to each row</description><atom:link href="https://sourceforge.net/p/csvjdbc/feature-requests/94/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 26 Sep 2015 13:35:38 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/csvjdbc/feature-requests/94/feed.rss" rel="self" type="application/rss+xml"/><item><title>Automatically add column LINENUM to each row</title><link>https://sourceforge.net/p/csvjdbc/feature-requests/94/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This column will contain the line number that this row starts in the CSV file (counting from 1 for the first row of data after the header).  Some example queries are:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;SELECT LINENUM, START_TIME FROM t0 WHERE IDX = 5135

SELECT * FROM t1 WHERE LINENUM = 3
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The LINENUM column is not included in &lt;code&gt;SELECT *&lt;/code&gt;, the following SQL query will add this column:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;SELECT LINENUM, * FROM t1
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;In situations with no line number, LINENUM will be SQL NULL.&lt;/p&gt;
&lt;p&gt;Originally requested in CsvJdbc Open Discussion *Data direct path access (for Indexing) *&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Chenery</dc:creator><pubDate>Sat, 26 Sep 2015 13:35:38 -0000</pubDate><guid>https://sourceforge.net3cd863e1dd47b87cb88621e77b6984aaf50e28ab</guid></item></channel></rss>