<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>User Guide Archives - Tools for InterSystems Caché and Intersystems IRIS</title>
	<atom:link href="https://www.cachemonitor.de/category/documentation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cachemonitor.de/category/documentation/</link>
	<description>A powerful sql database tool for InterSystems Caché, IRIS, MS SQL Server and more</description>
	<lastBuildDate>Fri, 30 Jun 2017 15:10:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.3</generator>

<image>
	<url>https://www.cachemonitor.de/wp-content/uploads/2014/06/cropped-logo64-32x32.png</url>
	<title>User Guide Archives - Tools for InterSystems Caché and Intersystems IRIS</title>
	<link>https://www.cachemonitor.de/category/documentation/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Working with a CSV Connection</title>
		<link>https://www.cachemonitor.de/working-csv-connection/</link>
		
		<dc:creator><![CDATA[andreas]]></dc:creator>
		<pubDate>Fri, 30 Jun 2017 12:45:48 +0000</pubDate>
				<category><![CDATA[User Guide]]></category>
		<guid isPermaLink="false">https://www.cachemonitor.de/?p=1088</guid>

					<description><![CDATA[<p>With a &#8220;CSV Text connection&#8221; you can list, view and analyse your text files like SQL tables. Via Menu &#8220;File&#8221; -&#62; &#8220;Create CSV Text connection&#8221; you can create this connection type in Server Manager and query the CSV Files like a simple tables. This is done with the CsvDriver. The [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.cachemonitor.de/working-csv-connection/">Working with a CSV Connection</a> appeared first on <a rel="nofollow" href="https://www.cachemonitor.de">Tools for InterSystems Caché and Intersystems IRIS</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>With a &#8220;CSV Text connection&#8221; you can list, view and analyse your text files like SQL tables.</p>
<p>Via Menu &#8220;File&#8221; -&gt; &#8220;Create CSV Text connection&#8221; you can create this connection type in Server Manager and query the CSV Files like a simple tables.</p>
<p>This is done with the <a href="http://csvjdbc.sourceforge.net/doc.html">CsvDriver</a>. The SQL Syntax is limited by the driver and is executed localy. You can&#8217;t use the Caché SQL Syntax cause it is not Caché you&#8217;re using.</p>
<p>Some short details:</p>
<ul>
<li>CsvJdbc accepts all types of CSV files defined by <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>.</li>
<li>CsvJdbc accepts only SQL SELECT queries from a single table and does not support INSERT, UPDATE, DELETE or CREATE statements.</li>
<li>SQL sub-queries are permitted but joins between tables in SQL SELECT queries are not yet supported.</li>
<li>SQL SELECT queries must be of the following format:<br />
<code><br />
SELECT [DISTINCT] [table-alias.]column [[AS] alias], ...<br />
FROM table [[AS] table-alias]<br />
WHERE [NOT] condition [AND | OR condition] ...<br />
GROUP BY column ... [HAVING condition ...]<br />
ORDER BY column [ASC | DESC] ...<br />
LIMIT n [OFFSET n]</code></li>
</ul>
<h2></h2>
<h2>Using ZIP Files</h2>
<p>You can pick up a ZIP file that contains multible csv text files.</p>
<p>Please see the next Screenshot for details. The <strong>CSV Connection</strong> is created to the file &#8220;IDS_CSV.zip&#8221;. That that coctain multible files one of them ist called &#8220;IDS_DATA.csv&#8221;. By opening a query editor and writing the query &#8220;SELECT * FROM IDS_Data&#8221; you can view and analyse this text file:</p>
<p><a href="https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection.png"><img class="wp-image-1098 size-large alignnone" src="https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection-1024x573.png" alt="" width="1024" height="573" srcset="https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection-1024x573.png 1024w, https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection-300x168.png 300w, https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection-768x429.png 768w, https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection-143x80.png 143w, https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection.png 1057w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>&nbsp;</p>
<h2>Using folder with many csv files without importing!</h2>
<p>You can just select a Folder for a CSV Connection and automatically query all *.csv files within this folder via SQL. Please see the next Screenshot for details. The CSV Connection is created for a folder called &#8220;testdata&#8221; within this folder exists a file called &#8220;population.csv&#8221;. Just write &#8220;select * from population LIMIT 100&#8221; to get the first 100 rows of this file.</p>
<p><a href="https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection_with_folder.png"><img class="wp-image-1101 size-full alignnone" src="https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection_with_folder.png" alt="" width="768" height="581" srcset="https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection_with_folder.png 768w, https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection_with_folder-300x227.png 300w, https://www.cachemonitor.de/wp-content/uploads/2017/06/csv_connection_with_folder-106x80.png 106w" sizes="(max-width: 768px) 100vw, 768px" /></a></p>
<p>&nbsp;</p>
<p>For more Details please check <a href="http://csvjdbc.sourceforge.net/doc.html">http://csvjdbc.sourceforge.net/doc.html</a></p>
<p>The post <a rel="nofollow" href="https://www.cachemonitor.de/working-csv-connection/">Working with a CSV Connection</a> appeared first on <a rel="nofollow" href="https://www.cachemonitor.de">Tools for InterSystems Caché and Intersystems IRIS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
