<?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 RE: How to change the column name in a Blue Prism Collection? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84152#M35333</link>
    <description>Have you tried adding as ID after the cast statement.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;SELECT &lt;STRONG&gt;cast([id] as char(36)) as id&lt;/STRONG&gt; FROM [tableName]&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gene Kerls&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Feb 2020 18:32:00 GMT</pubDate>
    <dc:creator>GeneKerls</dc:creator>
    <dc:date>2020-02-04T18:32:00Z</dc:date>
    <item>
      <title>How to change the column name in a Blue Prism Collection?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84151#M35332</link>
      <description>&lt;P&gt;I am working with SQL Queries for a Blue Prism project, and in my queries I have to cast a few of the table columns for Blue Prism to accept them. &lt;/P&gt;

&lt;P&gt;For example, instead of SELECT &lt;STRONG&gt;[id]&lt;/STRONG&gt; FROM [tableName], I do SELECT &lt;STRONG&gt;cast([id] as char(36))&lt;/STRONG&gt; FROM [tableName]. &lt;/P&gt;

&lt;P&gt;However, in my Blue Prism collection the column name now displays as 'Column1' instead of 'id' as I want it. In cases where I am not casting, the name shows up correctly. &lt;/P&gt;

&lt;P&gt;How can I revert back to the name I want while still applying the casting? &lt;/P&gt;

--------------------------------------------------&lt;BR /&gt;

&lt;B&gt;Disclaimer:&lt;/B&gt; This content was auto-posted from Stackoverflow. The original Stackoverflow question is here &lt;A href="https://stackoverflow.com/questions/58190331/how-to-change-the-column-name-in-a-blue-prism-collection"&gt;Stackoverflow Post&lt;/A&gt;, posted by &lt;A href="https://stackoverflow.com/users/9893170/mayurim"&gt;mayurim&lt;/A&gt;.</description>
      <pubDate>Tue, 04 Feb 2020 18:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84151#M35332</guid>
      <dc:creator>Digital_WorkerB</dc:creator>
      <dc:date>2020-02-04T18:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to change the column name in a Blue Prism Collection?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84152#M35333</link>
      <description>Have you tried adding as ID after the cast statement.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;SELECT &lt;STRONG&gt;cast([id] as char(36)) as id&lt;/STRONG&gt; FROM [tableName]&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gene Kerls&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Feb 2020 18:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84152#M35333</guid>
      <dc:creator>GeneKerls</dc:creator>
      <dc:date>2020-02-04T18:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to change the column name in a Blue Prism Collection?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84153#M35334</link>
      <description>&lt;STRONG&gt;Utility - Collection Manipulation&lt;/STRONG&gt; has an action called &lt;STRONG&gt;Rename Field&lt;/STRONG&gt; as standard, doesn't it?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Scott Robson&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2020 13:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84153#M35334</guid>
      <dc:creator>blue_meanie</dc:creator>
      <dc:date>2020-02-05T13:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to change the column name in a Blue Prism Collection?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84154#M35335</link>
      <description>Utility - Collection manipulation --&amp;gt; Rename Field will do the trick for you.&lt;BR /&gt;Just remember to save the output to another collection incase your input collections have pre-defined fields.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="15955.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/16116i7FD805177C5CF18F/image-size/large?v=v2&amp;amp;px=999" role="button" title="15955.png" alt="15955.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;CoE Lead Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;"If you like this post, please press the "Recommend" Button.&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Feb 2020 06:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84154#M35335</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2020-02-06T06:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to change the column name in a Blue Prism Collection?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84155#M35336</link>
      <description>The Solution provided by &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/39598"&gt;@ScottRobson1&lt;/a&gt; and &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/467"&gt;@vivek.kumar.goel&lt;/a&gt; looks great if you wish to change a single Column name within the collection.&lt;BR /&gt;Try this if you wish to change multiple Column names -&lt;BR /&gt;&lt;STRONG&gt;Utility - Collection Manipulation -&amp;gt; Rename Collection fields&lt;BR /&gt;&lt;/STRONG&gt;Inputs : &lt;BR /&gt;&lt;STRONG&gt;1. Main Collection&lt;/STRONG&gt; (collection) : The Collection whose column values need to be updated. For e.g. - ColA, ColB, ColC, ColD&lt;BR /&gt;&lt;STRONG&gt;2. New Headers&lt;/STRONG&gt; (collection) : This will be a single row defined collection. under field names provide the same names as per main collection i.e. ColA, ColB, ColC, ColD. Make sure to put initial values as per your new Column names. For example ColA-&amp;gt;ColM , ColB -&amp;gt; ColN and so on...&lt;BR /&gt;&lt;BR /&gt;Outputs:&lt;BR /&gt;Amended Collection - You need to store the result into new collection incase there will be any initial values !!!&lt;BR /&gt;Flag - T/F&lt;BR /&gt;Error Message - (Text)&lt;BR /&gt;&lt;BR /&gt;Happy Learning &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vipul Kumar&lt;BR /&gt;RPA Developer&lt;BR /&gt;TCS&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2022 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-change-the-column-name-in-a-Blue-Prism-Collection/m-p/84155#M35336</guid>
      <dc:creator>VipulKumar</dc:creator>
      <dc:date>2022-01-06T13:04:00Z</dc:date>
    </item>
  </channel>
</rss>

