<?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>I have a CDT and need to update its values to DB frequently. How do I update onc</title><link>https://community.appian.com/discussions/f/general/2015/i-have-a-cdt-and-need-to-update-its-values-to-db-frequently-how-do-i-update-onc</link><description>I have a CDT and need to update its values to DB frequently. How do I update once the DB has the CDT values. In case the values are there I just want to update and not insert new rows everytime. How would I do that? ... OriginalPostID-98131 OriginalPostID</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have a CDT and need to update its values to DB frequently. How do I update onc</title><link>https://community.appian.com/thread/7199?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2014 21:37:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b392394-2e67-4123-b243-9ca8241e840d</guid><dc:creator>Sathya Srinivasan</dc:creator><description>This may not be an elegant solution but you can create another column in your table that stores the composite key as a single column value.  You can use this to Map to the cdt.  The challenge here is that it pushes the  onus of creating and managing the pk to the developer instead of database.  Apart from that, the general recommended solution is to maintain a single p.k&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a CDT and need to update its values to DB frequently. How do I update onc</title><link>https://community.appian.com/thread/7191?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2014 19:15:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4cfe6916-a366-4cd6-8d2e-71993a40ac5a</guid><dc:creator>Mike Cichy</dc:creator><description>Composite keys are not supported in CDTs: &lt;a href="https://forum.appian.com/suite/wiki/74/Database_Schema_Best_Practices#Composite_Keys"&gt;forum.appian.com/.../Database_Schema_Best_Practices&lt;/a&gt;&lt;br /&gt;You would have to use Query RDMBS smart node to operate on tables with composite keys.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a CDT and need to update its values to DB frequently. How do I update onc</title><link>https://community.appian.com/thread/7180?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2014 03:35:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89df4660-aca2-49cf-b0f5-c28f33f11f5c</guid><dc:creator>nitas811</dc:creator><description>In our case we have a combination of multiple columns that make up the unique key. How do we deal with that?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a CDT and need to update its values to DB frequently. How do I update onc</title><link>https://community.appian.com/thread/7179?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2014 03:21:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8e79e2c-8225-441e-bbc2-fc3117d80c14</guid><dc:creator>Mike Cichy</dc:creator><description>As long as the pv of type CDT has the value for @Id provided, the smart service will complete an update instead of insert.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a CDT and need to update its values to DB frequently. How do I update onc</title><link>https://community.appian.com/thread/7174?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2014 02:17:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08c7a3c8-2626-4f93-9c5f-51ae128eb5bd</guid><dc:creator>Tim Nguyen</dc:creator><description>Check out our documentation on the write to datastore smart service. Specifically, look at updating data in data store.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/wiki/74/Write_to_Data_Store_Entity_Smart_Service"&gt;forum.appian.com/.../Write_to_Data_Store_Entity_Smart_Service&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>