<?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 select specific columns from a datagrid into another datagrid ? in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/445195#M867</link>
    <description>&lt;P&gt;Thank you very much James for your prompt response. When I got rid of identifiers and used the column names directly, it started working !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2018 15:15:36 GMT</pubDate>
    <dc:creator>iyerdeepa82</dc:creator>
    <dc:date>2018-03-13T15:15:36Z</dc:date>
    <item>
      <title>How to select specific columns from a datagrid into another datagrid ?</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/444894#M857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have SAS CI Studio, version 6.4. I have a datagrid, which has multiple columns. I need just 10 columns out of that, hence I want to do a TABLESEECT with just columns of interest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try specifying the column names in TABLESELECT , I get a SAS exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Syntax Used:&lt;/P&gt;&lt;P&gt;TABLESELECT(&amp;lt;&amp;lt;identifiers.Party Details&amp;gt;&amp;gt;,&lt;BR /&gt;'&amp;lt;&amp;lt;identifiers.Party Details&amp;gt;&amp;gt;.name,&amp;nbsp; '&amp;lt;&amp;lt;identifiers.Party Details&amp;gt;&amp;gt;.name EQ &amp;lt;&amp;lt;identifiers.Name&amp;gt;&amp;gt;')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise, what are the other options?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 19:16:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/444894#M857</guid>
      <dc:creator>iyerdeepa82</dc:creator>
      <dc:date>2018-03-12T19:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to select specific columns from a datagrid into another datagrid ?</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/444979#M858</link>
      <description>&lt;P&gt;Hi Deepa,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like the issue is with the ColumnClause part of the TABLESELECT function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation for TABLESELECT says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;columnClause&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;specifies the columns that appear in the new data grid variable. Use an asterisk (*) to specify all of the columns in the data grid. Use a list of column names that are separated by semicolons (;) to designate specific columns. These column names must be specified as strings and must be the actual column names in the data grid. You cannot use identifiers to specify column names.&lt;/P&gt;
&lt;P&gt;.......&lt;/P&gt;
&lt;P&gt;I also think you are missing a single apostrophe after your column clause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 23:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/444979#M858</guid>
      <dc:creator>JamesAnderson</dc:creator>
      <dc:date>2018-03-12T23:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to select specific columns from a datagrid into another datagrid ?</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/445195#M867</link>
      <description>&lt;P&gt;Thank you very much James for your prompt response. When I got rid of identifiers and used the column names directly, it started working !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-select-specific-columns-from-a-datagrid-into-another/m-p/445195#M867</guid>
      <dc:creator>iyerdeepa82</dc:creator>
      <dc:date>2018-03-13T15:15:36Z</dc:date>
    </item>
  </channel>
</rss>

