<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to sqlSelectAction</title><link>https://sourceforge.net/p/coils/wiki/sqlSelectAction/</link><description>Recent changes to sqlSelectAction</description><atom:link href="https://sourceforge.net/p/coils/wiki/sqlSelectAction/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 08 Jan 2014 18:09:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/coils/wiki/sqlSelectAction/feed" rel="self" type="application/rss+xml"/><item><title>sqlSelectAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/sqlSelectAction/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -27,7 +27,7 @@

 Execute the provided SQL SELECT statement the result of which will be stored as [StandardXML] in the work-flow message "daily_info"

- 
       &lt;input /&gt; 
        
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Wed, 08 Jan 2014 18:09:16 -0000</pubDate><guid>https://sourceforge.net17a880dfdd2b42d78c4c2fbead99ed7db07fcaaa</guid></item><item><title>sqlSelectAction modified by Adam Tauno Williams</title><link>https://sourceforge.net/p/coils/wiki/sqlSelectAction/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="/p/coils/wiki/OpenGroupwareIntegrationEngine/"&gt;OIE&lt;/a&gt;&lt;/p&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#sqlselectaction"&gt;sqlSelectAction&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#parameters"&gt;Parameters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#example"&gt;Example&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#possible-errors"&gt;Possible Errors&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="sqlselectaction"&gt;sqlSelectAction&lt;/h1&gt;
&lt;p&gt;Perform the specified query and select the results into the output message.&lt;/p&gt;
&lt;p&gt;See also:&lt;br /&gt;
   - &lt;span&gt;[sqlUpdateAction]&lt;/span&gt; &lt;br /&gt;
   - &lt;span&gt;[sqlInsertAction]&lt;/span&gt;&lt;br /&gt;
   - &lt;span&gt;[sqlDeleteAction]&lt;/span&gt;&lt;br /&gt;
   - &lt;span&gt;[sqlExecuteAction]&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="parameters"&gt;Parameters&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;dataSource&lt;/td&gt;
&lt;td&gt;The name of the defined OIE SQL data source.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;queryText&lt;/td&gt;
&lt;td&gt;The text of the SQL query to be executed.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;limit&lt;/td&gt;
&lt;td&gt;Default: 150. A value of -1 indicates there is no limit and the results of the query will be read until the results are exhausted.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;tableName&lt;/td&gt;
&lt;td&gt;This value will be used as the “tableName” attribute of the &lt;span&gt;[StandadXML]&lt;/span&gt; ResultSet element.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;primaryKeys&lt;/td&gt;
&lt;td&gt;Fields listed will be marked as primary keys in the query result.  Multiple fields may be specified as comma separated values.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;codepage&lt;/td&gt;
&lt;td&gt;Default: UTF-8&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="example"&gt;Example&lt;/h2&gt;
&lt;p&gt;Execute the provided SQL SELECT statement the result of which will be stored as &lt;span&gt;[StandardXML]&lt;/span&gt; in the work-flow message "daily_info"&lt;/p&gt;
&lt;p&gt; &lt;br /&gt;
&lt;input /&gt; &lt;br /&gt;
&lt;br /&gt;
        sqlSelectAction &lt;br /&gt;
        miecr@BARNET &lt;br /&gt;
&lt;br /&gt;
    SELECT &lt;br /&gt;
        TRIM(branch_code) AS branch_code, &lt;br /&gt;
        service_parts, &lt;br /&gt;
        counter_parts, &lt;br /&gt;
        counter_wip, &lt;br /&gt;
        parts_wip, &lt;br /&gt;
        record_id, &lt;br /&gt;
        TO_CHAR(TODAY - 1 UNITS DAY, '%Y-%m-%d') AS report_date &lt;br /&gt;
    FROM hedera_billing &lt;br /&gt;
    WHERE report_date = TODAY - 1 UNITS DAY; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/p&gt;
&lt;h2 id="possible-errors"&gt;Possible Errors&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;TBD&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Wed, 08 Jan 2014 18:08:52 -0000</pubDate><guid>https://sourceforge.net953e737fc54312a58b6b3648e568d99067c30afa</guid></item></channel></rss>