<?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>Database Column definition getting changed in View</title><link>https://community.appian.com/discussions/f/general/19523/database-column-definition-getting-changed-in-view</link><description>We are facing a scenario where data type of view keeps on changing from MediumText and Text depending upon the the data getting hold in view column. 
 This causes any issue whenever data store is published and CDT column definition does not match the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Database Column definition getting changed in View</title><link>https://community.appian.com/thread/76364?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 03:39:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a67af0e-5281-4516-b6e9-c638e322253c</guid><dc:creator>amitc0001</dc:creator><description>&lt;p&gt;Thank you Chris and Christine. Yes, we have now applied cast function to such columns and it seems to be working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database Column definition getting changed in View</title><link>https://community.appian.com/thread/76359?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 20:46:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0871a95-7ae1-4267-85e2-3b0860d21b95</guid><dc:creator>ChristineLHutchison</dc:creator><description>&lt;p&gt;I generally use a cast for my fields in the view for this case. Cast it to a specific CHAR length and then it will not change.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database Column definition getting changed in View</title><link>https://community.appian.com/thread/76348?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 14:39:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e8c28ab-71bf-4c23-a14b-6ee32f38910a</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;How is your view defined?&amp;nbsp; Similar issues can occur say if your view is defined with &amp;quot;*&amp;quot; such as &amp;quot;SELECT * FROM TABLE_XYZ&amp;quot;, where as the view should be defined with columns specifically identified as &amp;quot;SELECT column1, column2, column3 FROM TABLE XYZ&amp;quot;.&amp;nbsp; Utilizing &amp;quot;*&amp;quot; in your view will also require the view to be republished if columns are added to the table later on.&amp;nbsp; Just one thought on the issue there.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>