<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Output type for SQL Insert in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Output-type-for-SQL-Insert/m-p/502627#M1252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an SQL query service and added insert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the insert statement successfully runs, I get "Unable to Invoke Service TestSQLInsert on MyDBThing : null".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default Output type is INFOTABLE. Even after changing this output type to Long or anything, I get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the correct output type I should use? Is it right to have INSERT/UPDATE statements in SQL Query service? If not what is the approach I should use for writing INSERT/UPDATE statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arunkumar D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 04:52:41 GMT</pubDate>
    <dc:creator>arunkumar1</dc:creator>
    <dc:date>2016-03-16T04:52:41Z</dc:date>
    <item>
      <title>Output type for SQL Insert</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Output-type-for-SQL-Insert/m-p/502627#M1252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an SQL query service and added insert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the insert statement successfully runs, I get "Unable to Invoke Service TestSQLInsert on MyDBThing : null".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default Output type is INFOTABLE. Even after changing this output type to Long or anything, I get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the correct output type I should use? Is it right to have INSERT/UPDATE statements in SQL Query service? If not what is the approach I should use for writing INSERT/UPDATE statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arunkumar D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 04:52:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Output-type-for-SQL-Insert/m-p/502627#M1252</guid>
      <dc:creator>arunkumar1</dc:creator>
      <dc:date>2016-03-16T04:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Output type for SQL Insert</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Output-type-for-SQL-Insert/m-p/502628#M1253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's a SQL Command rather than a SQL Query. Then the Output type could be a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Quang-Dung&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:19:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Output-type-for-SQL-Insert/m-p/502628#M1253</guid>
      <dc:creator>qngo</dc:creator>
      <dc:date>2016-03-16T08:19:53Z</dc:date>
    </item>
  </channel>
</rss>

