<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Query database configuration .</title><link>https://community.appian.com/discussions/f/process/24276/query-database-configuration</link><description>I have used query databse service in my process model. 
 
 Here I wrote this query to update particular fields in database table. I searched on google and i found that active class parameter should be used in query to update database table. 
 
 I have</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Query database configuration .</title><link>https://community.appian.com/thread/93629?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 15:11:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f192255-863b-4686-94c1-642cb8c26ac7</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;That&amp;#39;s not really relevant.&amp;nbsp; If you have the table&amp;#39;s primary key ID, you can query the current data in that row, update the value, and re-write it using WTDS.&amp;nbsp; This is still true regardless of whether someone&amp;#39;s looking at an interface that uses View data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query database configuration .</title><link>https://community.appian.com/thread/93627?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 15:06:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68265222-727b-4192-a78b-bc01d6e0cc9f</guid><dc:creator>dhavalp0001</dc:creator><description>&lt;p&gt;As I used view to display data on dashboard . When I edit data on dashboard it will save to database. So not all fields have come in view. That&amp;#39;s why i use this query database to update data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query database configuration .</title><link>https://community.appian.com/thread/93625?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 14:51:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e618a8a-4912-476f-ac03-09a22913a1a0</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Note also that it&amp;#39;s trivially easy to query the most recent version of a row, update just the desired field, and re-write that value - it won&amp;#39;t update anything other than the value you updated.&amp;nbsp; This is a little easier than Stewart&amp;#39;s suggestion, in cases where it&amp;#39;s not being done very much (and thus potentially impacting performance or risking conflicts).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query database configuration .</title><link>https://community.appian.com/thread/93621?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 14:47:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6a53baf-1885-4eed-90b9-2932cfabb93e</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;You can create a CDT that only has the field(s) you want to update and the field that uniquely identifies the target row - a so-called &amp;quot;partial CDT&amp;quot; and then you can use the WTDS node as you would normally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query database configuration .</title><link>https://community.appian.com/thread/93620?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 14:35:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ad22c65-70ea-4c12-9a57-60300f59ffcd</guid><dc:creator>dhavalp0001</dc:creator><description>&lt;p&gt;I want to update only few field in table not whole data so that&amp;#39;s why i am using this query database service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query database configuration .</title><link>https://community.appian.com/thread/93619?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 14:23:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59e8a5e8-ddf2-44e6-bac6-e72113d34e15</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Is there any particular reason you&amp;#39;re not using the Write to Data Store Entity node?&amp;nbsp; The Query DB node is recommended to only be used sparingly and when there are absolutely no other options, as far as I know.&amp;nbsp; The configuration is more difficult and more confusing (as you&amp;#39;ve experienced) and you won&amp;#39;t find anywhere near as much support for it here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>