<?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>Is there a way to systematic way to find out what is using a column in a CDT? We</title><link>https://community.appian.com/discussions/f/rules/6746/is-there-a-way-to-systematic-way-to-find-out-what-is-using-a-column-in-a-cdt-we</link><description>Is there a way to systematic way to find out what is using a column in a CDT? We are auditing our tables and we are not sure if some of the columns are being used. OriginalPostID-190180 OriginalPostID-190180</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there a way to systematic way to find out what is using a column in a CDT? We</title><link>https://community.appian.com/thread/26660?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 17:41:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a1df0d7-7d9c-4e3f-a7b6-04815be2e264</guid><dc:creator>Josh</dc:creator><description>@alexanderc The only way I have accomplished this in the past is pattern matching the xml of downloaded applications. Ex. look for ri!cdt.columnName or index(ri!cdt, "columnName", null) etc. Its a pretty brute force method and can return a ton of false positives but it gets the job done.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to systematic way to find out what is using a column in a CDT? We</title><link>https://community.appian.com/thread/26633?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 03:25:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8c0e9b6e-5d27-4c2f-aad3-8b0168671777</guid><dc:creator>sikhivahans</dc:creator><description>@alexanderc I don't think that there is an OOTB utility to do so. &lt;br /&gt;&lt;br /&gt;I would like to suggest one manual approach as follows which could be elegant when compared to manual process.&lt;br /&gt;&lt;br /&gt;1. Obtain the DDL from the datastore in Appian. I guess this could be obtained when you try to publish the data store to a new datasource. &lt;br /&gt;2. Extract the DDL script from the database schema.&lt;br /&gt;3. Compare the sql scripts from both sources, that is, data store and database manually by making use of a text comparison utilities.&lt;br /&gt;&lt;br /&gt;Let's see if any other user could suggest much efficient approach when compared to making manual comparisons in each CDT against its associated table.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to systematic way to find out what is using a column in a CDT? We</title><link>https://community.appian.com/thread/26630?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 02:57:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7a6b009-4b11-422c-9b93-5dfbb3cd59a5</guid><dc:creator>alexanderc</dc:creator><description>Thanks for the response. What I meant was I want to know if interface/expression/query rules are using a column.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to systematic way to find out what is using a column in a CDT? We</title><link>https://community.appian.com/thread/26629?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 02:50:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d884bbd-f634-41d9-a0b0-e69d8f051b88</guid><dc:creator>GouthamKrishna</dc:creator><description>I would go check the XSD of that CDT and see which database columns are mapped with CDT fields. I think it is also possible that none of the CDT fields are mapped with a DB column, so you wouldn&amp;#39;t get that column values in to Appian when you query on that CDT entity.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>